Gms native in harmonyos 2.0 - Honor 10 Lite Accessories

please! Install gms native harmonyos 2.0.0.218

Related

[Q] node.js npm on Android

Hello,
I built node.js for android and it is running great.
Now i need some modules for a new project (serialport,express,socket.io) but I can't use npm on my android device, since i cross compiled node and just put the executable on the device.
Is there a way to use npm on android or what would be the best way to do it?
I also tried building the packages on an arm qemu but the modules weren't working o the android box.
What I am trying to do at the moment is including the modules as core modules when building node, but I am unsure what to include. All modules and all the modules that those modules depend on, etc. etc. This doesn't sound right?
I am following these instructions, that were for a similar problem: github / mapbox / building for android (can't post link sadly)
What would be the best way to achieve it?
Kind regards, egon
I now got it running by installing debian kit on the android box.
Then I just installed node and npm from package manager and did "npm install" in my project folder which worked.

[Q] Building apps with sql (mysql) support problem

Hi,
i`m trying to develop simple ubuntu application. This application should connect to remove mysql server, query and display data in UbuntuListView. Project was created in Qt Creator 3.1.1 as QML app with c++ plugin (cmake).
In my cpp class, i connect to mysql server using QSqlDatabase db = QSqlDatabase::addDatabase("QMYSQL"); according to qt documentation.
On my desktop (ubuntu 14.04) application works fine (after installing libqt5sql5-mysql), but when i tried to run this application on my aquaris E4.5 ubuntu edition (using Framework ubuntu-sdk-14.10) i got this error:
QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE
Open database: false
I have found package libqt5sql5-mysql 5.3.0+dfsg-2ubuntu9 (armhf binary) for utopic unicorn. In qt creator, under Tools->Options->Ubuntu, I clicked on Maintain button in Framework ubuntu-sdk-14.10 and install that package. But this didn`t solve my problem.
Do yo have any ideas ?
If you want to include said libaries, you need to ship them as .so files in your click package. Don't ask me how to do it (I don't know in this specific case), but simply installing it in your chroot won't work.

Why Do My Users Receive Repeated Reminders to Update HMS Core When They Sign in to My Game Symptom

A pop-up is repeatedly displayed to users when they sign in to the game, asking them to install or update to the latest version of HMS Core.
Log Analysis
Search for Failed to find HMS apk in the Logcat log file. Multiple results will be returned.
The following log indicates that HMS Core (APK) is not installed when the initialization API init is called to check for it:
XML:
Initializing JosAppsClient
I/HMSSDK_HuaweiApiManager: sendRequest
I/HMSSDK_BaseHmsClient: ====== HMSSDK version: 40000300 ======
I/HMSSDK_BaseHmsClient: Enter connect, Connection Status: 1
I/HMSSDK_BaseHmsClient: connect minVersion:30000000
E/HMSSDK_HMSPackageManager: skip package com.huawei.hwid for metadata is null
E/HMSSDK_HMSPackageManager: Failed to find HMS apk
The following log indicates that HMS Core (APK) is not installed when the sign-in API signIn is called to check for it:
I/HMSSDK_[HUAWEIIDSDK]HwIdSignInClientHub: onCreate
I/HMSSDK_HmsAPKVersionCheckUtil: ====== HMSSDK version: 40000300 ======
I/HMSSDK_HmsAPKVersionCheckUtil: check minVersion:30000000
E/HMSSDK_HMSPackageManager: skip package com.huawei.hwid for metadata is null
E/HMSSDK_HMSPackageManager: Failed to find HMS apk
I/HMSSDK_AvailableAdapter: main thread invokes resolution.
I/HMSSDK_AvailableAdapter: startResolution
According to the logs, both the init and signIn APIs find that HMS Core (APK) is not installed, and thus two pop-ups are displayed.
Solution
1. Update the integrated Game Service SDK to 5.0.1.301 or later. For more details, please refer to the official materials.
2. If you prefer not to update the SDK, you can also change the sequence for calling the sign-in and initialization APIs, so that the initialization API is called after the sign-in is successful.
This will ensure that the pop-up displays only once.

What Can I Do If My Joint Operations App/Game Is Rejected Due to Incorrect Provider Name in HMS Core (APK) Update?

Symptom​When I submitted my game, which has HMS Core capabilities integrated, for review, it was rejected due to incorrect provider name during HMS Core (APK) update.
I use Android Studio and I can’t find any solutions for this problem in the official documentation, so I contacted Huawei technical support instead.
Solution​I was told that the provider name does not need to be manually configured for HMS Core (APK) updates for version 4.0 and later. The provider name is automatically configured in the manifest file after game packaging. To check whether the configuration exists, I would need to decompile the game package and check whether the following configurations exist under the application element in the manifest file:
Code:
<provider
android:name=”com.huawei.hms.update.provider.UpdateProvider”
<! — Replace xxx.xxx.xxx with the actual game package name. →
android:authorities=”xxx.xxx.xxx.hms.update.provider”
android:exported=”false”
android:grantUriPermissions=”true” >
</provider>
<provider
android:name=”com.huawei.updatesdk.fileprovider.UpdateSdkFileProvider”
<! — Replace xxx.xxx.xxx with the actual game package name. →
android:authorities=”xxx.xxx.xxx.updateSdk.fileProvider”
android:exported=”false”
android:grantUriPermissions=”true”>
</provider>
If the configurations do not exist, packaging errors or other exceptions may have occurred. In this case, you would need to manually add the provider name.

HMS Core SDK Version Updates

Dear developer,
HMS Core SDKs have undergone some version updates recently. To further improve user experience, update the HMS Core SDK integrated into your app to the latest version.
HMS Core SDK​Version​Link​Keyring​com.huawei.hms:keyring-credential:6.4.0.302​Link​Location Kit​com.huawei.hms:location:6.4.0.300​Link​Nearby Service​com.huawei.hms:nearby:6.4.0.300​Link​Contact Shield​com.huawei.hms:contactshield:6.4.0.300​Link​Video Kit​com.huawei.hms:videokit-player:1.0.12.300​Link​Wireless kit​com.huawei.hms:wireless:6.4.0.202​Link​FIDO​com.huawei.hms:fido-fido2:6.3.0.304
com.huawei.hms:fido-bioauthn:6.3.0.304
com.huawei.hms:fido-bioauthn-androidx:6.3.0.304​Link​Panorama Kit​com.huawei.hms: panorama:5.0.2.308​Link​Push Kit​com.huawei.hms: push:6.5.0.300​Link​Account Kit​com.huawei.hms:hwid:6.4.0.301​Link​Identity Kit​com.huawei.hms:identity:6.4.0.301​Link​Safety Detect​com.huawei.hms:safetydetect:6.4.0.301​Link​Health Kit​com.huawei.hms:health:6.5.0.300​Link​In-App Purchases​com.huawei.hms:iap:6.4.0.301​Link​ML Kit​com.huawei.hms:ml-computer-vision-ocr:3.6.0.300
com.huawei.hms:ml-computer-vision-cloud:3.5.0.301
com.huawei.hms:ml-computer-card-icr-cn:3.5.0.300
com.huawei.hms:ml-computer-card-icr-vn:3.5.0.300
com.huawei.hms:ml-computer-card-bcr:3.5.0.300
com.huawei.hms:ml-computer-vision-formrecognition:3.5.0.302
com.huawei.hms:ml-computer-translate:3.6.0.312
com.huawei.hms:ml-computer-language-detection:3.6.0.312
com.huawei.hms:ml-computer-voice-asr:3.5.0.301
com.huawei.hms:ml-computer-voice-tts:3.6.0.300
com.huawei.hms:ml-computer-voice-aft:3.5.0.300
com.huawei.hms:ml-computer-voice-realtimetranscription:3.5.0.303
com.huawei.hms:ml-speech-semantics-sounddect-sdk:3.5.0.302
com.huawei.hms:ml-computer-vision-classification:3.5.0.302
com.huawei.hms:ml-computer-vision-object:3.5.0.307
com.huawei.hms:ml-computer-vision-segmentation:3.5.0.303
com.huawei.hms:ml-computer-vision-imagesuperresolution:3.5.0.301
com.huawei.hms:ml-computer-vision-documentskew:3.5.0.301
com.huawei.hms:ml-computer-vision-textimagesuperresolution:3.5.0.300
com.huawei.hms:ml-computer-vision-scenedetection:3.6.0.300
com.huawei.hms:ml-computer-vision-face:3.5.0.302
com.huawei.hms:ml-computer-vision-skeleton:3.5.0.300
com.huawei.hms:ml-computer-vision-livenessdetection:3.6.0.300
com.huawei.hms:ml-computer-vision-interactive-livenessdetection:3.6.0.301
com.huawei.hms:ml-computer-vision-handkeypoint:3.5.0.301
com.huawei.hms:ml-computer-vision-faceverify:3.6.0.301
com.huawei.hms:ml-nlp-textembedding:3.5.0.300
com.huawei.hms:ml-computer-ner:3.5.0.301
com.huawei.hms:ml-computer-model-executor:3.5.0.301​Link​Analytics Kit​com.huawei.hms:hianalytics:6.5.0.300​Link​Dynamic Tag Manager​com.huawei.hms:dtm-api:6.5.0.300​Link​Site Kit​com.huawei.hms:site:6.4.0.304​Link​HEM Kit​com.huawei.hms:hemsdk:1.0.4.303​Link​Map Kit​com.huawei.hms:maps:6.5.0.301​Link​Wallet Kit​com.huawei.hms:wallet:4.0.5.300​Link​Awareness Kit​com.huawei.hms:awareness:3.1.0.302​Link​Crash​com.huawei.agconnect:agconnect-crash:1.7.0.300​Link​APM​com.huawei.agconnect:agconnect-apms:1.5.2.310​Link​Ads Kit​com.huawei.hms:ads-prime:3.4.55.300​Link​Paid Apps​com.huawei.hms:drm:2.5.8.301​Link​Base​com.huawei.hms:base:6.4.0.303​​
Required versions for cross-platform app development:
Platform: React Native
Plugin Name​Version​Link​react-native-hms-analytics​6.3.2-301​Link​react-native-hms-iap​6.4.0-301​Link​react-native-hms-location​6.4.0-300​Link​react-native-hms-map​6.3.1-304​Link​react-native-hms-push​6.3.0-304​Link​react-native-hms-site​6.4.0-300​Link​react-native-hms-nearby​6.2.0-301​Link​react-native-hms-account​6.4.0-301​Link​react-native-hms-ads​13.4.54-300​Link​react-native-hms-adsprime​13.4.54-300​Link​react-native-hms-availability​6.4.0-303​Link​
Platform: Cordova (Ionic-Cordova Ionic-Capacitor)
Plugin NameVersionLinkcordova-plugin-hms-analytics
ionic-native-hms-analytics​6.3.2-301​Link​cordova-plugin-hms-location
ionic-native-hms-location​6.4.0-300​Link​cordova-plugin-hms-nearby
ionic-native-hms-nearby​6.2.0-301​Link​cordova-plugin-hms-account
ionic-native-hms-account​6.4.0-301​Link​cordova-plugin-hms-push
ionic-native-hms-push​6.3.0-304​Link​cordova-plugin-hms-site
ionic-native-hms-site​6.4.0-300​Link​cordova-plugin-hms-iap
ionic-native-hms-iap​6.4.0-301​Link​cordova-plugin-hms-availability
ionic-native-hms-availability​6.4.0-303​Link​cordova-plugin-hms-ads
ionic-native-hms-ads​13.4.54-300​Link​cordova-plugin-hms-adsprime
ionic-native-hms-adsprime​13.4.54-300​Link​cordova-plugin-hms-map
ionic-native-hms-map​6.0.1-305​Link​cordova-plugin-hms-ml
ionic-native-hms-ml​2.0.5-303​Link​
Platform: Flutter
huawei_safetydetect​6.4.0+301​Link​huawei_iap​6.2.0+301​Link​huawei_health​6.3.0+302​Link​huawei_fido​6.3.0+304​Link​huawei_push​6.3.0+304​Link​huawei_account​6.4.0+301​Link​huawei_ads​13.4.55+300​Link​huawei_analytics​6.5.0+300​Link​huawei_map​6.5.0+301​Link​huawei_hmsavailability​6.4.0+303​Link​huawei_location​6.0.0+303​Link​huawei_adsprime​13.4.55+300​Link​huawei_ml​3.2.0+301​Link​huawei_site​6.0.1+304​Link​
Platform: Xamarin
Huawei.Hms.Hianalytics​6.4.1.302​Link​Huawei.Hms.Location​6.4.0.300​Link​Huawei.Hms.Nearby​6.2.0.301​Link​Huawei.Hms.Push​6.3.0.304​Link​Huawei.Hms.Site​6.4.0.300​Link​Huawei.Hms.Fido​6.3.0.304​Link​Huawei.Hms.Iap​6.4.0.301​Link​Huawei.Hms.Hwid​6.4.0.301​Link​Huawei.Hms.Ads-prime​3.4.54.302​Link​Huawei.Hms.Ads​3.4.54.302​Link​Huawei.Hms.Maps​6.5.0.301​Link​
If you have any further questions or encounter any issues integrating any of these kits, please feel free to contact us.
Region​Email​Europe​[email protected]​Asia Pacific​[email protected]​Latin America​[email protected]​Middle East & Africa​[email protected]wei.com​Russia​[email protected]​

Categories

Resources