Jay Kim

Results 27 comments of Jay Kim

@mikehardy In previous library (@react-native-admob/admob) there was code listening for application lifecycle events: https://github.com/react-native-admob/admob/blob/4b24e57308aa2dd0e28a6eab1d90ae81576e69b2/android/src/main/java/com/rnadmob/admob/ads/fullscreen/RNAdMobAppOpenAdModule.java#L115-131 But should the part be implemented in this library? I think it should be implemented in...

Ahh, would you try adding following to proguard-rules.pro? I am suspecting it's minify related problem. ``` -keep class io.invertase.googlemobileads.** { *; } ```

In #135, the problem was creating ad instance again; > trying to load two rewarded ads at once So this is not the problem, maybe

But in my local environment, rewarded ad in example app works both in Android and iOS 🤔

Sure, here it is, ``` System: OS: macOS 12.3.1 CPU: (8) arm64 Apple M1 Pro Memory: 5.39 GB / 32.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 16.14.2 - ~/.nvm/versions/node/v16.14.2/bin/node...

I agree. It was weird behavior. Let's make it change, but it's a breaking change, so we will have to increase major version.

> Indeed, the ad is only loaded once. The loaded state is never reset after the promise resolves. This is intended behavior. You need to load ad again using `load`...

Also, the `isOpened` state is remained `true` even after the ad is closed unless new ad is requested. It is documented in [documentation](https://docs.page/invertase/react-native-google-mobile-ads/displaying-ads-hook#show-the-ad). So `isOpened` does not means if the...

If you want to load ad again, you can do like this: ```js useEffect(() => { if (isClosed) { navigation.navigate(Routes.Map, { address: navData.address }); load(); } }, [navData.address, isClosed, load,...