react-native-appodeal icon indicating copy to clipboard operation
react-native-appodeal copied to clipboard

TypeError: null is not an object (evaluating 'RNAppodeal.initialize')

Open ghost opened this issue 4 years ago • 5 comments

Hello, I followed the installation instructions and during the initialization I get an error from the title (picture no. 1).

image

In the picture below (no. 2) are the changes that are made on the file package.json after installation process. image I added "tslib": "^2.3.1" manually with command ("npm install tslib"). I don't know why that lib is not automatically included.

In the picture (no. 3) are the changes of all files that i changed after installation process. image

In the picture (no. 4) is the main problem (Line 90). Just basic stuff from your installation page. image

Can you please tell me what i'm doing wrong. Thanks, Mladen

ghost avatar Dec 19 '21 20:12 ghost

Hello, @Mladen4! This error is reproducible on both iOS and Android?

staskochkin avatar Dec 20 '21 13:12 staskochkin

I only tried it on android.

Thanks for the replay.

On Mon, 20 Dec 2021, 14:47 staskochkin, @.***> wrote:

Hello, @Mladen4 https://github.com/Mladen4! This error is reproducible on both iOS and Android?

— Reply to this email directly, view it on GitHub https://github.com/appodeal/react-native-appodeal/issues/90#issuecomment-997938986, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJTIXHOWMR3JNL3B73YRYB3UR4XXVANCNFSM5KMIEGDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

ghost avatar Dec 20 '21 14:12 ghost

@Mladen4 Are you using expo? Did you extract app by using expo eject?

staskochkin avatar Dec 22 '21 08:12 staskochkin

I'm using expo and i extracted it. Also i tried with new clear app (create-react-native-app my-project) without the expo and the error was the same.

On Wed, 22 Dec 2021, 09:27 staskochkin, @.***> wrote:

@Mladen4 https://github.com/Mladen4 Are you using expo? Did you extract app by using expo eject?

— Reply to this email directly, view it on GitHub https://github.com/appodeal/react-native-appodeal/issues/90#issuecomment-999379079, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJTIXHLRTUXSPHW6BRKAVALUSGDWDANCNFSM5KMIEGDQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

ghost avatar Dec 22 '21 11:12 ghost

@Mladen4 Could you please provide sample project where this issue is reproduced?

staskochkin avatar Dec 23 '21 07:12 staskochkin

Closed due to inactivity

staskochkin avatar May 15 '23 09:05 staskochkin