React native check and compare app version in appgallery - react-native

For Google playstore and iOS Appstore, we can use this package: https://www.npmjs.com/package/react-native-store-version
But is there any package that can deal with Huawei appGallery?

Related

Android SDK necessary for react-native app development

I am planning to start react-native app development. I have tried to follow official docs and some other blogs and tutorials but they are not animous on whether we need android SDK for development.
Please tell me can I go ahead with react-native app development without installing android SDK and studio?
yes you can use Expo instead, Expo is a framework and a platform for universal react native applications, you will find all what you need to know in the docs

How to use older version of Expo with the mobile app?

i have a project using expo version 30.0.1 i don't want that to change the app was created using CRNA when i try to run npm start and i choose ios or android the expo mobile app on the simulator always gives me an error saying the experience you requested uses Expo SDK v(null) but this copy of Expo Client requires that at least v34.0.0. the author should upgrade their experience to a newer Expo SDK version now i want to run the app as it is with the older expo version, how can i achieve that?
i tried uninstalling the Expo Client app from the simulator but when it reinstalls it installs the newer Expo client app on the simulator. is there a way to tell Expo to install the Expo client on the simulator based on the current projects Expo version?
iOS: according to the Expo support; it’s not possible to downgrade the expo client app on a device (apple does not let you distribute multiple versions of an app at the same time on the app store), but you can install it on your simulator by running expo client:install:ios in your project directory.
Android: you may download the required version from here and install the APK. There is more info here if needed.

How to install the React Native Expo App in iOS?

I have successfully created iOS build of React Native Expo App and I also downloaded it to the iPhone. But I am not able to install it in the phone. I am not able to open the file.
Please help if anyone has any idea regarding this.
You can't directly install the React-native Expo app on your phone. You must use the AppStore or Expo client for IOS.
https://docs.expo.io/versions/v36.0.0/distribution/app-stores/
https://docs.expo.io/versions/latest/distribution/building-standalone-apps/
Actually, you can install your React-native Expo app on your iOS device if you have an Apple developer account, you can follow the detailed step-by-step guide in this article:
https://medium.com/nerd-for-tech/your-guide-to-testing-your-expo-react-native-application-on-ios-abbde4086d08

This release is not compliant with the Google Play 64-bit requirement (ExpoKit)

Warning in Google Play:
This release is not compliant with the Google Play 64-bit requirement
The following APKs or App Bundles are available to 64-bit devices, but they only have 32-bit native code: 1.
From August 1, 2019 all releases must be compliant with the Google Play 64-bit requirement.
Include 64-bit and 32-bit native code in your app. Use the Android App Bundle publishing format to automatically ensure that each device architecture receives only the native code it needs. This avoids increasing the overall size of your app.
How to fix this problem?
What I have already tried is to add ndk.abiFilters in gradle
ndk.abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64'
when I created apk, app started crashing immediately.
You have to upgrade your react native. For expo follow react native docs. For react native without expo You can use these commands:
sudo npm install -g react-native-git-upgrade
Then
react-native-git-upgrade

Check Google Play Services version in React Native app

How can I programmatically check which version of Google Play Services is installed in a React Native app?