I visit the below link to get Google map Key
Visit https://developers.google.com/maps/documentation/android/
a) have create a Project in Google Api console
b) have created a SHA1 certificate fingerprint base on google's below insturction
keytool -list -v -keystore mystore.keystore
mystore.keystore refer to: C:..... Xamarin\Mono for Android\debug.keystore"
Problems :
P1) Where to get package name in Xamarin to create Google map key base on this format:
One SHA1 certificate fingerprint and package name (separated by a semicolon) per line.
Example:
45:B5:E4:6F:36:AD:0A:98:94:B4:02:66:2B:12:17:F2:56:26:A0:E0;com.example
2) is this Map key required when I test the map app in emulator?
Thanks
1)
Within Visual Studio:
Right click your project > Properties
Click the Android Manifest tab on the left.
Package name field is what you are looking for.
If you see the message "No AndroidManifest.xml found. Click to add one.
Within Xamarin Studio:
Right click your project > Options.
Navigate to the Build / Android Application section.
Package name field is what you are looking for.
2)
Yes you need a map key to test the app in the emulator.
Related
I write Ui test for Xamarin Forms project, with use google map on iOS they work normal, but on android show only blank screen.
If build on debug / release or install apk maps work, but if i use UI test nothing. I use Nunit 2.6.4 and testing on local device and emulator and AppCenter.
Why this issue exists
When you're compiling your .apk with Google Maps included, Maps use your Keystore settings to verify that the maps is legit (I can't remember the exact details off hand but basically - if the keystore information used to sign the .apk changes - it breaks the maps).
By default, when you use UITest without sending keystore information - UITest does various magical things with its own keystore. This causes maps to stop working.
How to resolve this locally
To fix the test run locally, you need to tell UITest to use the keystore which you used to build the .apk file originally:
public AndroidAppConfigurator KeyStore (String path, String storePassword, String keyPassword, String keyAlias)
Is the method you want to use when setting up your App Configuration:
ConfigureApp
.Android
.ApkFile("path/to/my.apk")
.Keystore(path, password, alias)
.StartApp(mode);
How to resolve this in App Center
If you want to send your tests up to App Center then you'll need to do one more thing - and that is to include the keystore information when calling the appcenter-cli using the following parameters (which you can get from appcenter test run uitest --help:
--key-password <arg> Password to the matching private
key in the keystore. Corresponds
to the "-keypass" argument in
jarsigner
--key-alias <arg> Alias to the key in the keystore.
Corresponds to the "-alias"
argument in jarsigner
--store-password <arg> Password to the keystore.
Corresponds to the "-storepass"
argument in jarsigner
--store-path <arg> Path to the keystore file
P.S. If you have issues with App Center - I'd recommend opening a conversation using the Intercom widget in the bottom corner of the website - this will get you routed through to the Test support team who should be able to help you (you might even get to speak to me! :))
Hi i am applying social login scenario in my ionic app where i applied google sign option and it is working perfectly with android and when comming to the ios im getting the below error
the api key and bundle id everything are set and working perfect
You have to follow the below steps as configuration for google login through IOS
Go to https://developers.google.com/mobile/add?platform=ios&cntapi=signin for IOS registration
Enter IOS bundle Id from widget Id in config.xml of the project
Enable Google sign In and generate configuration file
Copy the reverse client Id from downloaded file
Install the plugin with reverse client Id instead of webclient Id which we used for Android
run cordova plugin add cordova-plugin-googleplus --save --variable REVERSED_CLIENT_ID="myreversedclientid"
We can find the reverse client Id in Google developer console also credentials->iOS URL schema is the reverse client Id
Extract from Plugin documentation
To get your iOS REVERSED_CLIENT_ID, generate a configuration file
here. This GoogleService-Info.plist file contains the
REVERSED_CLIENT_ID you'll need during installation. This value is only
needed for iOS.
The REVERSED_CLIENT_ID is also known as the "iOS URL Scheme" on the
Developer's Console.
Login on iOS takes the user to a SafariViewController through the
Google SDK, instead of the separate Safari browser.
IMPORTANT:
Please note that myreversedclientid is a place holder for the reversed
clientId you find in your iOS configuration file. Do not surround this
value with quotes. (iOS only Applications)
If you are building a hybrid application (iOS and Android), or an
Android application, you have to replace myreversedclientid with the
reverse value of Client ID in your Release credential generated on
step 3, on Google Developer's Console, this will be:
"com.googleusercontent.apps.uniqueId", without quotes.
1)Go to firebase console in your project add for ios.
2)you can see the google-info-plist file download it.
3)in this plist file have webclientid and reverseclientid use this
in package json file where google plus varible of webclient id and reverseclient id.same
as in config.xml file then after.
4)run commnad ionic cordova prepare ios then ionic cordova build ios
5)buy beer for me :)
link: Simulator Screenshot of Error
Hello,
I just had my laptop repaired/reset after some water damage and now when opening the app on Xcode 9 Beta and pressing the "Google Sign-in" button the link fails to sign in. This used to work perfectly before 3 weeks ago on Xcode 8 before the water spill incident so I'm not sure what's going wrong.
I tried submitting the failed link myself and that's where I got the 404 HTTP Request error.
I also checked to make sure that GoogleService-info.plist matched with what's on firebase and I made sure I reregistered the signing of this app to my appleid.
Any help would be appreciated. Thanks in advance.
I had the same issue please check following things: -
check console.developers.google.com/apis/credentials for your project and see whether there is already a client_id in OAuth 2.0 client IDs section , if so then copy that client id and replace it with you GoogleService-Info.plist file's CLIENT_ID and accordingly change REVERSED_CLIENT_ID (in reverse manner) now clean and build your app and test it will work
It seems that you might have not add a URL scheme to your project
If you do not add a URL scheme into your, Follow some step to add
Open your project configuration: double-click the project name in
he left tree view. Select your app from the TARGETS section,
then select the Info tab, and expand the URL Types section.
Click the + button, and add a URL scheme for your reversed client ID. To find this value, open the GoogleService-Info.plist configuration file, and look for the REVERSED_CLIENT_ID key. Copy the value of that key, and paste it into the URL Schemes box on the configuration page. Leave the other fields blank.
Note: Don't foget to check your client_id
I'm trying to setup Google Analytics for my new iOS app, when following the instructions here.
It instructs me to click the "Get A Configuration File" button, but that button just sends me to another page that has a spinning, nothing ever happens. I already have a property setup in Analytics for web and a view setup for mobile.
Can anyone share the GoogleService-Info.plist file with me so I can attempt to manually fill in the details of the file and add it to my project?
It happened with me also. If you close everything and follow that link it worked for me next time. You can try to do that. Below is the link of sample plist file, of course I replaced tracking id, bundle id and app id to strings from original values. Hope it helps.
Sample Google Plist file
Generally in iOS
1) Create your project in Firebase console https://console.firebase.google.com
Click add project and follow steps.
2) Now open this link to get GoogleService-Info.plist file
https://developers.google.com/mobile/add
-->Click Get Started
-->Select your project
Ex: CloudFirestoreSwift
--> Now select domain Ex: iOS
-->Now add app bundle id then GoogleService-Info.plist file will be generate, download it and complete the steps if required.
NOTE: Please don't change file name. It's must be GoogleService-Info.plist
If you already generated GoogleService-Info.plist file. Now select your project and go project settings.
--> Go General tab, you can find GoogleService-Info.plist file here download it.
Steps for getting configuration if your first time login to google developer account.
1. Open google developer console.
2. Login to developer console.
3. Create project with valid name.
4. Enable google analytics.
5. Then get the configuration file.
The download link is not always immediately visible and you have to scroll up to get it, I happen to press next before downloading and I missed the opportunity to download the file.
I prefer the automatically generated file as I am lazy (aren't we all)
So, follow these steps
Go to https://developers.google.com/analytics/devguides/collection/ios/v3/
Scroll down to Get a configuration file
When prompted for the app name and bundle Id, just use the drop down menu and you'll find your previously created app details there.
Proceed to the next screen Continue to: Choose and Configure Services
Select your service, note that your previously selected ones will have a green arrow (Analytics in the case below)
Select Generate configuration file
You'll be given an opportunity to download the file again.
Voila!
You need to login on https://console.developers.google.com create your first application, then go back to https://developers.google.com/mobile/add the website will now work correctly.
Installing Ignore X-Frame headers plugin on Chrome made this bug vanish
Same here, I got following invalid json file:
)]}'
{"status":401,"message":"Invalid authuser parameter"}
and that is resolved by clearing cookies on google.com on your browser.
Thanks to Sanjana I decided to look at Google's web code and found they have an X-Frame error.
So the url you can visit is https://accounts.google.com/ServiceLogin?service=cloudconsole&osid=1&passiv…collection/ios/v3/app?configured%253Dtrue&hl=en#add-config&cntlbl=Continue
I'm getting this strange problem I can't seem to find a soluition of. I have included net_rim_bb_qm_platform.jar in my project with the help of the following method:
In Eclipse, open the BlackBerry Application Development perspective.
Click File > New > BlackBerry Project.
In the New BlackBerry Project dialog box, in the Project Name field, type a name for your project.
In the JRE section, make sure you select a BlackBerry JRE that is version 5.0 or later, and click Finish.
In the Package Explorer view, right-click the project and click Properties.
In the Properties dialog box, in the left pane, click Java Build Path.
Click the Libraries tab.
Click the Add External JARs button.
Navigate to the folder where you extracted the BlackBerry Messenger SDK file,. In the BBM SDK folder, doubleclick
net_rim_bb_qm_platform.jar.
Click Next.
In the properties window, click OK.
When you are ready to build your project, on the Project menu, click BlackBerry > Package All.
But this method creates a tempXXXXX folder everytime I sign my app and there appears an Error (X) mark on the project folder. And the console says:
Error!: Error: preverifier failed: C:\Eclipse\plugins\net.rim.ejde.componentpack7.1.0_7.1.0.10\components\bin\preverify.exe -d C:\Users\ ...
Packaging project MyBBMApp failed (took 1.285 seconds)
Any help would be greatly appreciated. Thanks.
Your subject says you have problems signing the file. In order to sign the file, make sure you have the three signing files available on your system (RBB, RCR and RRT). In order to sign an app, the files first need to be included:
BlackBerry (located at the top) -> Sign -> Install New Keys
Once the keys are included in your project, sign your app:
Right Click project -> BlackBerry -> Sign with Signation Tool. It will prompt for a password which is what you created when getting your keys.
Once the app is signed, package your project:
Right Click project -> BlackBerry -> Package Project
Make sure your app has no compilation errors in order for the app to package successfully.