enter image description hereIntegrate the version update API (checkUpdate). If you already integrate the API, check whether the HMS SDK code is obfuscated in the configuration file. For details about how to modify the configuration file, visit https://developer.huawei.com/ consumer/en/doc/development/AppGallery-connect-Guides/appgallerykit-preparation#h1-1574846682104
Error prompt when I select the mainland.
Related
I implemented google login in flutter without using firebase in flutter (google cloud console). It was working in apk then later I needed push notification service for which I used firebase (fcm token and all) then I released the app to playstore but google login does not work. I keep getting apiexception error. Has anybody faced this issue? if yes any help would be highly appreciated.
I do not have a specific answer to your problem but I have also faced this problem once, I accidentally resolved it though.
But Error 12500 is a general error code that may occur when attempting to use the Google Sign-In feature and is caused by a few potensial issues:
An issue with the SHA-1 fingerprint of your app's signing
certificate: To use Google Sign-In, you need to configure your app's
SHA-1 fingerprint and package name in the Firebase console. Make
sure that the fingerprint and package name you have configured in
the Firebase console match the ones you are using to sign your app.
An issue with the Google Services configuration file: Make sure you
have properly added the Google Services configuration file to your
app.
An issue with the Google Play Services library: Make sure you have
the latest version of the Google Play Services library installed in
your app.
An issue with the device or emulator you are using: Make sure you
are testing on a device or emulator that has Google Play Services
installed and is up to date.
Possible fixes to try/check:
Double-check the SHA-1 fingerprint and package name: Make sure that
the SHA-1 fingerprint and package name you have configured in the
Firebase console match the ones you are using to sign your app.
Make sure you have added the Google Services configuration file: The
Google Services configuration file is required for your app to
communicate with Google services, including Google Sign-In. Make
sure you have properly added this file to your app.
Update the Google Play Services library: Make sure you have the
latest version of the Google Play Services library installed in your
app. You can check for updates by going to the "SDK Manager" in
Android Studio.
Test on a device or emulator with Google Play Services installed:
Make sure you are testing on a device or emulator that has Google
Play Services installed and is up to date.
I hope this helps! I will quickly search if I can find any other solution.
I am trying to write an app for my GT2 Pro but when I try to install my app with Huawei DevEco Assistant, it gives me the following error:
Installation failed: 47. Invalid value entered for app.apiVersion
Here is the steps I did:
I created a [Lite] JS project.
I signed the app without any changes on project.
I built a signed hap and copied it to the haps directory on the phone.
I tried to install app via DevEco Assistant.
DevEco Studio details:
DevEco Studio 2.1.0.501 with api 4-5
DevEco Studio 3.1.0.100 with api 4-7
I assume you followed the process for debugging your app on GT2 Pro at https://developer.huawei.com/consumer/en/doc/distribution/app/agc-help-harmonyos-debugapp-manual-0000001177608893, especially on Sports watches section.
What's the software version in the GT2 Pro? If it has been upgraded to the latest version, you need to check the build.gradle file and ensure the SDK version is correct. For the lite-wearable device, the compatible API 4 and target API 5 are recommended. You may set API 4 for both or API 3 and API 4, depending on HarmonyOS version in your device. You also need to make sure the API configuration is consistent in the config.json file if the "apiVersion" is configured. In addition, you should use the official released DevEco Studio such as version 3.0 or version 2.1 for your app development and debugging.
I have a scenario where in i am building an flutter app which i don't want to upload to google play store. I will provide the .apk to download via website .
Now i have a new version of the app which i replaced the old .apk file with in the website.
Now how to push the notification to the user and ask them to update the latest version of the app.
Should i have to maintain some github repository where i maintain the releases ?
Any suggestion to this complete scenario would be greatly helpful.
1- create an api that return latest app version
2- always make a request to this API when ever the user open the app check the API latest version and user app version (I recommend using package_info_plus)
3- inform user with the new app if app version != latest version(API)
You can user firebase or any notification service to send notification from server to the users you can schedule notification that trigger when update is added in the server
you can create the dialog that check the version of your apk and check through the server api where latest version in updated in api and you can show the dialog every time
I want to use the HUAWEI Drive service in my app. My app has integrated HUAWEI Drive Kit 4.0.3.300. When my app calls the Drive.Files.Create(File content) API to upload a file, the upload failed, and error code 403 is reported in the log.
I checked the HUAWEI ID sign-in code and found that the Drive scope is correctly set, and the Android Studio version is 3.6.3.
The error information in the log is as follows:
{"error":{"code":403,"description":"Not sign agreement, please confirm","errorDetail":[{"reason":"AGREEMENT_NOT_SIGNED","domain":"global","errorCode":"21004033","description":"Not sign agreement, please confirm"}]}}
The error information indicates that you have not signed HUAWEI Drive Kit user agreement. Please visit https://cloud.huawei.com/ to sign this agreement.
Please refer to the following document for more error code information:
https://developer.huawei.com/consumer/en/doc/development/HMS-References/drivekit-devreference
I'm using PhoneGap Build. I'm using this plugin here: https://github.com/Wizcorp/phonegap-facebook-plugin only to add install tracking for a Facebook ad I have setup for mobile ads when people install the app after clicking the mobile Facebook ad.
In the Facebook SDK here under "4. Enable Install Tracking": https://developers.facebook.com/docs/app-ads/sdk
it says: "To enable install tracking call the App Events logger once your application becomes active."
In this plugin's README under Events, it says:
"Activation events are automatically tracked for you in the plugin."
Does this mean that there is no code to write, that once I only have to add the plugin to the config xml and it will automatically call FB.AppEvents.activateApp() ?
I have attempted to call FB.AppEvents.activateApp() manually using the Facebook SDK for Javascript but get an error AppEvents undefined.
If you look at the Facebook JS SDK documentation you'll find that it says...
Note: App Launches and App Installs are now logged automatically. It's no longer necessary to call activateApp to log those events.
https://developers.facebook.com/docs/reference/javascript/FB.AppEvents.LogEvent
So the readme for that plugin is correct to say it is automatic.