react-native-google-mobile-ads with Expo managed workflow will not work

Viewed 107

I have followed all of the most up-to-date guides and suggestions for getting react-native-google-mobile-ads to work with an Expo managed workflow, including these:

How to use react-native-google-mobile-ads with Expo?

How do I use react-native-google-mobile-ads with Expo and Expo Go?

But I keep getting the same error:

ERROR TypeError: null is not an object (evaluating 'RNAppModule.eventsNotifyReady')

It would seem that this error originates in this jest.setup.ts file: https://github.com/invertase/react-native-google-mobile-ads/blob/main/jest.setup.ts

but I have no idea what the error is or how to overcome it.

This error happens when I initiate interstitial.load() as per the official documentation.

Any help would be greatly appreciated.

0 Answers
Related