Google Play Permissions compliance - xamarin.forms

We have Xamarin Android App for an Airline, the core use of the app is for Booking and Purchasing ticket, recently we have added new functionality which allows customers to pay with USSD Option, and purchase their ticket. While uploading the app to play store. it is asking us to select the Core functionality of the app.
among the lists which core functionality do I have to select?
we have added the below permissions on manifest
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.CALL_PRIVILEGED" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
<uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" />

If you have SMS-based fincancial transactions, that's the option you should select.
It's not a matter of what you choose that will get your app selected or rejected either way.

Related

READ_EXTERNAL_STORAGE is always denied on Android 13 device

My application targets api level 32. When running on Android 13 device, ActivityResultContracts.RequestMultiplePermissions() always returns PERMISSION_DENIED even if the user presses on "Allow".
Also, when checking in settings->app->permissions, the IMAGE, AUDIO and VIDEO permissions get granted.
The documentation clearly states that applications targeting api level < 33 should continue asking for READ_EXTERNAL_DEVICE, and the IMAGE, AUDIO and VIDEO will be granted automatically
Tried allowing READ_EXTERNAL_STORAGE permission.
Expected to open Gallery.
Actually, permission was denied.
Apparently, From android 13 and beyond You need to put permissions for READ_MEDIA_VIDEO,READ_MEDIA_IMAGES,READ_MEDIA_AUDIO, not Just requesting READ_EXTERNAL_STORAGE will work alone, won't even show in the permission page in the settings
<!-- Required only if your app needs to access images or photos
that other apps created. -->
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
<!-- Required only if your app needs to access videos
that other apps created. -->
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
<!-- Required only if your app needs to access audio files
that other apps created. -->
<uses-permission android:name="android.permission.READ_MEDIA_AUDIO" />
<!-- If your app doesn't need to access media files that other apps created,
set the "maxSdkVersion" attribute to "28" instead. -->
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"
android:maxSdkVersion="32" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="29" />

push notification not receiving when app is closed in xamarin.forms

I have implemented push notification in my xamarin.forms app.
I used gsm notification in android and for IOS used plugin.
that works fine when app is in foreground or background.but if i close(kill) app then don't receive notification.
any one have idea about this.
please help.
thank you.
Did you added permissions
iOS:
info.plist
<key>UIBackgroundModes</key>
<array>
<string>voip</string>
<string>fetch</string>
<string>remote notification</string>
</array>
Android:
Manifest file:
<uses-permission android:name="android.permission.WAKE_LOCK" />
<permission
android:name="co.my.packagename.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name="co.my.packagename.C2D_MESSAGE" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="android.permission.VIBRATE" />
And once deploy application using release mode then try

NuGet Server - Access custom private NuGet gallery based on dynamic Feed URL

I need to provide private NuGet patch for the customers. We have more number of customers. We are in the position to provide different NuGet Patch to all needed customers. Now, I have followed below approach for provide NuGet patch
provided each NuGet feed link for each customer and maintain separate
NuGet package folder for each customer. But, we have maintained each
Web application for each customer. This is very complex and it’s not
possible achieve for more customers.
This is my code block
Web.Config
<appSettings>
<add key="requireApiKey" value="true" />
<add key="apiKey" value="" />
<add key="packagesPath" value="~/NugetPackages/customer1" />
<add key="enableSimpleMembership" value="false" />
<add key="" />
</appSettings>
I want to know other possibilities for to achieve this. My query is
For Example
My Feed link is - http://mydomain/packages/c1 and
http://mydomain/packages/c2 etc…
C1 feed link is want to show only NuGet package which is in customer1
package folder
C2 feed link iswant to show only NuGet package which is in customer2
package folder
But We need to maintain one web application for achieve these.
Is this possible or not? Could you please share your ideas?
Thanks in Advance
Mathan
I have posted same query in NuGet GitHub, I got some response. In NuGet server not yet released dynamic Feed URL feature, this is in development stage. I have shared that link here
https://github.com/NuGet/NuGetGallery/issues/3520
Regards,
Mathan

ASP.Net using facebook & Google Login to use site functionality without Sign up to native app in vb.net

I have searched for many tutorials but it's too confusing thing because everywhere it's different. I have developed site in vb.net & some ecommerce function is there on site. To place any order login is required. I want to add Facebook & Google login in my site that user should be able to use all site functionality without signing up or login to my website using fb or google login. Please suggest a suitable tutorial or documentation. Thanks
using code on web.config :
<appSettings>
<add key="google_clientId" value="xxxxxxxx.apps.googleusercontent.com" />
<add key="google_clientEmail" value="xxxxxxxxxx#developer.gserviceaccount.com" />
<add key="google_clientSecret" value="xxxxxxxxxxxx" />
<add key="google_RedirectUrl" value="http://YOUR-DOMAIN.com/LoginWithGoogle1.aspx" />
<add key="google_JavaScriptOrigin" value="http://YOUR-DOMAIN.com" />
</appSettings>
in configuration tag
get the website and create account for your loging : apps.googleusercontent.com
or visit in : login with google in codeplex open source

Allow for backup AD login for windows authentication ASP.NET MVC app

I work for a company that uses active directory for all computers. Everyone also has a AD user account but this does not mean that they use it all the time. Some users only use them for certain applications. For the most part, all general users just use a generic login out in the work areas.
I am new to MVC and I am trying to learn to do everything the proper way. I currently have an application that was written in JAVA that I need to convert to asp.net mvc. I want to make it so that users who are logged in under the shared username are required to login using their own AD credentials to authenticate and impose as themselves from then on in the application.
From what I can make sense of on google, I will need to make a custom authentication method. If so, maybe someone can graciously point me in the right direction.
Any help is greatly appreciated. Thank you all.
Assuming you are on IIS7, a former IIS team member wrote a very useful blog on combining windows and forms authentication.
I have and am currently using this in a production intranet system and the following are my comments on how to setup
Unlock the and configuration sections before you can use them in web.config:
%windir%\system32\inetsrv\appcmd unlock config /section:anonymousAuthentication
%windir%\system32\inetsrv\appcmd unlock config /section:windowsAuthentication
Register the forms authentication wrapper configuration section in your web.config:
section name="formsAuthenticationWrapper" type="Mvolo.Modules.FormsAuthConfigurationSection"
Replace the built-in Forms Authentication module with the wrapper:
<remove name="FormsAuthentication" />
<add name="FormsAuthentication" type="Mvolo.Modules.FormsAuthModule" />
Set the required settings for the gateway page:
<security>
<!-- Enable IIS Windows authentication for the login page -->
<authentication>
<windowsAuthentication enabled="true" />
<anonymousAuthentication enabled="false" />
</authentication>
</security>
That should do it.

Resources