How to test react native in app review in dev? - react-native

I'm using this package react-native-store-review for requesting an in-app review. but neither any modal shows up nor I see an error when I call requestReview().
onPress={() => {
if (StoreReview.isAvailable) {
console.warn('available');
StoreReview.requestReview();
}
}}
text="Write your review"
/>
The app has been put in the google play internal test track
and my Gmail is added as a tester
and I've downloaded the app from google play
and I have not reviewed the app before
but nothing shows up when requestReview() and only the 'available' appears in the dev mood.
I also tried this package react-native-in-app-review but it makes the app crashes in android, so any other package suggestion or solution would be great too.

The solution is putting the app in the Internal test track.

Related

expo react native app stuck on refreshed when I run the app

I am working on an expo project when I run the app It stuck on Refreshed
Per discussion in comments, Expo server refreshes are frequently triggered by real-time replication/backup software running on the computer, especially apps like OneDrive or DropBox.
More good information is documented here on expo's forum:
https://forums.expo.io/t/infinite-refreshing-without-doing-anything/2119

Admob banner works in expo but not testflight

I have an admob banner in my react native app which works perfectly in the expo client and ios simulator, but on testflight the ad doesn't load and I get this error
Error Domain=com.google.admob Code=1 "Request Error: No ad to show." UserInfo={NSLocalizedDeion=Request Error: No ad to show.}
Here's the code for the admob banner
import { AdMobBanner } from "expo-ads-admob";
...
<AdMobBanner
bannerSize="banner"
adUnitID={this.adUnitID}
servePersonalizedAds={false}
/>
When I use google's demo adUnitId ca-app-pub-3940256099942544/2934735716 the ad loads on testflight, but not with my own adUnitId. According to other stackoverflow questions, if this is the case, the add should work on testFlight after 4 days once google has approved the ad. However, it's been nearly 2 weeks and it still isn't working. Any advice is much appreciated.
I think you need to billing your account and check the adUnitID again.
There are 2 similar IDs for Admob, googleMobileAdsAppId and adUnitID.
googleMobileAdsAppId is like 'ca-app-pub-xxxxxxxxxxxxxxxx~xxxxxxxxxx'
which should be in app.json file.
adUnitID is like 'ca-app-pub-xxxxxxxxxxxxxxxx/xxxxxxxxxx' which should be inside
<Â¥AdMobBanner>
Do you refer to the right ID?

ITMS-90809 Deprecated API Usage (UIWebView)

I'm currently getting the error in the subject line. I'm currently using RN 0.61.2. I'm using a bare React Native project but I had to install some expo dependencies in order to implement the "Sign In with Apple" button via expo-apple-authentication and I think that's what might be causing the issue.
The "Sign In with Apple" button works as expected in my ios emulator but I get an email with this error when I upload the app to App Store Connect. The following github issue thread is a close match to my issue:
https://github.com/facebook/react-native/issues/26255
The following post recommends adding a post_install hook to remove UIWebView and has a lot of upvotes but the path mentioned in the post doesn't exist on my system so this post_install hook doesn't work for me:
https://github.com/facebook/react-native/issues/26255#issuecomment-528275747
The following post in the github issue thread also has a lot of upvotes:
https://github.com/facebook/react-native/issues/26255#issuecomment-527447318
However, App Store Connect still returns the same error for the uploaded app after I execute this command. Any recommendations on what I can try at this point in order to get my app successfully uploaded to App Store Connect?

React-native Webkit - getting WebKitErrorDomain Code 204 on video for iOS

We have a website that needs to be ported to mobile app. We have used react-native and the webkit view.
In the website, there is a play button that will open up a video. On Android, this works very well. However, it is not the same for iOS.
Please see error message
Error Loading Page
Domain: WebKitErrorDomain
Error Code: 204
Description: Plug-in handled load
Otherwise, the website looks good on iOS. On Android, the video opens and runs smoothly.
We have used this code in the app which is extremely simple.
<WebView
source={{uri: 'http://www.domain.abc'}}
bounces={false}
scrollEnable={false}
/>
Any idea on how to fix this issue?

Appsflyer integration - out of store apk with React Native

I am trying with Appsflyer out of store apk integration with React Native, I have followed below mentioned steps -
Added app on Appsflyer account with com.reactnativetest package and 9apps_int as channel name.
Integrated react-native-appsflyer SDK in my React Native App, following the react-native-appsflyer documentation.
Have added initSDK with debug mode true and trackEvent Method in the code.
Have debug the app on phone, and I got the success response from initSDK and trackEvent.
Now when I look at the Appsflyer dashboard, it gives me "0" Organic & Non-Organic Install and there is no event also tracked in the dashboard.
I have also done the testing with AppsFlyer Integration Testing App, by whitelisting my device and testing the app again, but same result.
Please help me where I am wrong in this?
Do I need to upload the app on any store except play store/App store before testing, can't I test the app installs in debug mode?
Please help.
Thanks.
Did you also test with URL with media and campaign?
http://app.appsflyer.com/com.greatapp?pid=test&c=campaign_test_1&
I suppose at this stage it's easier to upload the app to the stores, you can always pull it back.