Gmap show empty page when deploy to CHPlay - xamarin

I'm facing with serious problem about gmap api key (I thinks). My xamarin form app uses gmap in some of UI. I already config SHA-1 key for both debug and release mode. I work well when I generate apk file and install to my android phone. But when I public it to CHPlay then install, it always show empty map.

Related

How to upload Android App Bundles (.aab) on playstore for already published App

I have already published my app on the playstore with keytore as .apk I am used to. But because of google notice that publishing App as APK will be obsolete in few months to come.
So, in a new upgrade of my app, I wish to upload it as app bundle. So while generating signed App bundle, with my app's keytore, I discovered that it generated the app bundle as (app-release.aab) and exported another key as private_key.pepk So when i revisited playstore console to upload the signed app bundle, I didn't see where to upload private_key.pepk.
So, I became worried. Not knowing what to do. I don't want to make a costly mistake. That is why I'm here for you to give me step by step method on how to continue from where I stopped.
Thanks for helping me..
EDIT:
I clicked create new release and then I clicked on opt in but didn't know which option to choose and proceed
Opt in to Play App Signing
Export and upload a key from Android Studio
Export and upload a key from Java keystore
Export and upload a key (not using Java Keystore)

How to enable phone auth firebase, flutter, xcode

I have Flutter Firebase auth configured and it is working perfectly with Android. But with ios, I cannot seem to get it to work.
Am using Xcode and Flutter on MacOS deploying to a physical iphone()14.4) and I have followed the instructions:
Added googleservice-info.plist into project via Xcode.
Under Signing and capabilities in Xcode, Provisioning profile, Team , Bundle identifier, Signing certificate(Apple Development certificate) configured with no errors. Push Notifications(Release) also enabled.
In developer.apple.com, under Identities->myapp, I have enabled Push Notifications. I have also created development and production SSL certs inside Push Notifications. Also created key for Apple Push Notifications service (APNs).
In my Firebase project, I have added iOS apps and all the fields are populated. Under Cloud Messaging, in iOS apps, I have uploaded the APN key and both development and Production certs I got from Apple Developer.
I run 'flutter run --release' (I am using a physical iphone(14.4)) because debug mode is not allowed on 14.4. App installs successfully. I am able to navigate pages and even register email/pw with Firebase. But when I do a Firebase phone auth (verifyPhoneNumber), I keep getting an error as indicated by a snackbar error I coded in. Problem is that I cannot get the specific error from the logs since I have deployed using release and flutter logs remain blank.
I don't know what else to do. Please help.
Figured it out. Problem was with URL Types under Info of target Runner. Had to add URL Scheme. For those who has this problem, refer to the below.
https://firebase.google.com/docs/auth/ios/phone-auth
iOS uses captcha with Firebase.

"Initializing…. Please wait" error on installing android app created via phonegap build

Created a basic HTML, CSS, Javascript app using phonegap desktop developer app, phonegap mobile developer app, uploaded this to github public repo.
After creating a phonegap-build account , I created the android apk build using phonegap-build referring the source from github public repo url.
Installation of apk file in android device went fine, but when I try to open the app, it is stuck at this error "Initializing…. Please wait". This is stuck at this stage for long time and can't get past it.
Found that , I had enabled 'hydration' while creating the apk using phonegap-build.
After disabling the hydration, and doing a rebuild and re-generated the apk, installed it on the device, now it is good.

Trying To deploy JavaFX app to MAC app store showing Sandbox error

ERROR ITMS-90296: "App sandbox not enabled. The following executables must include the "com.apple.security.app-sandbox" entitlement with a Boolean value of true in the entitlements property list: [( "123123123client.pkg/Payload/123123123Client.app/Contents/MacOS/123123123Client", "123123123client.pkg/Payload/123123123Client.app/Contents/PlugIns/Java.runtime/Contents/Home/jre/lib/jspawnhelper" )] Refer to App Sandbox page at https://developer.apple.com/devcenter/mac/app-sandbox/ for more information on sandboxing your app."
Although i have added the sand box entitlement in info plist .but still getting the same...any help
Not exactly a legitimate solution ....but it solve the purpose that i needed as Since the application is build using JAVA FX i am not able to pinpoint the concern in the build (JAVA APP was developed by Some else and i got the responsibility to submit it to app store since only ios resource in the company :)) . After struggling for day and using various approach to get this work.
I come up with approach where i created a blank project with same build added the app icons ,then sandbox enable for app and the frameworks and then compiled the build got the xcode archive.then i have replaced the project.app with javafx .but before replacing the same i have replaced the info.plist first as after all info.plist have all the settings required.
after doing so i tried uploading the build and surprisingly it work and build uploaded to the app store.
Now the Mac Application is under review....

How to identify some particular app is installed or not in my device using xamarin forms (Android and ios)

How to identify whether some particular application is already installed in my device or not through xamarin forms? (I want to achieve in android and ios).
Explanation :
In native windows application I have used one service which give me following data (App Name, App Icon Image, App Id, Publisher Id, Version name).
I have checked whether particular application is already installed in my device or not through App Name, App Id, Publisher Id.
Suppose app is installed then I checked version of the application if its fully updated then "Launch" button display and if it is not then "Update" button display.
If application is not installed then "Install" button display and this button redirect me directly through play store.
Same thing I want achieve in android and ios through xamarin forms.
which things are required through service for android and ios?
How to redirect directly to play store in android and ios?
Method 1:
Try using App Links. You need to install the Rivets component from the Component Store. You can handle the navigation to play store if not installed and else browser based on your URL.
Rivets.AppLinks.Navigator.Navigate("http://any.old.url");
Your app will now attempt to Navigate to another installed app for the URL using App Links, or will fall back to usingUIApplication.OpenUrl in ios/or will fall back to using an intent with a view action in Android, if no App Link meta data is found, or no apps for the metadata are installed.
Method 2:
For example I have handled the situation for facebook app to open a page from my xamarin app but not by using App Links.
Device.OpenUri(new Uri("fb://page/page_id")); // Launch the page in facebook app (if facebook app is installed) from my application.
The above code line when executed, will open the specified facbook page in facebook app. Notice "fb://page/page_id" this is the intent with specific uri provided from facebook. You can read more about it here.
Use Plugin.Share to use CrossShare to open a browser cross-platform from your xamarin app. This I have used below.
The above code will throw an exception if facebook app is not installed, then you probably need to redirect to the play store of Android or the app store of Apple.
For Android:
CrossShare.Current.OpenBrowser("https://play.google.com/store/apps/details?id=com.facebook.katana");
Here com.facebook.katana is the package name of facebook app in android. You can replace with your application's package name if registered on playstore. This will automatically launch in playstore not in browser.
In case of IOS redirect to App store:
CrossShare.Current.OpenBrowser("https://itunes.apple.com/us/app/facebook/id284882215/");
Here id284882215 is the app id of facebook on Apple's app store.

Resources