appodeal / react-native-appodeal

Official React Native package that adds Appodeal SDK support to your react-native application.
https://appodeal.com
59 stars 37 forks source link

iOS hangs with RNAppodeal.setOnLoadedTriggerBoth is not a function #66

Closed SMJ93 closed 3 years ago

SMJ93 commented 3 years ago

I have followed all of the instructions in the read me for iOS. When initialising the app with Appodeal.initialize the app just hangs and outputs:

Unhandled Promise Rejection (id: 0):
TypeError: RNAppodeal.setOnLoadedTriggerBoth is not a function

Looking at the code there is no setOnLoadedTriggerBoth in iOS.

Version:

"react-native-appodeal": "2.7.6",

Env:

System:
    OS: macOS 10.15.7
    CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
    Memory: 223.48 MB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 12.9.1 - ~/.nvm/versions/node/v12.9.1/bin/node
    Yarn: 1.22.10 - ~/Documents/projects/translation-app/node_modules/.bin/yarn
    npm: 6.14.4 - ~/.nvm/versions/node/v12.9.1/bin/npm
    Watchman: Not Found
  Managers:
    CocoaPods: 1.9.1 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.2, DriverKit 20.0, macOS 11.0, tvOS 14.2, watchOS 7.1
    Android SDK:
      API Levels: 23, 25, 26, 27, 28, 29
      Build Tools: 28.0.3, 29.0.2
      System Images: android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom, android-30 | Google APIs Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 3.5 AI-191.8026.42.35.6010548
    Xcode: 12.2/12B45b - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_172 - /usr/bin/javac
    Python: 2.7.15 - /usr/local/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.13.1 => 16.13.1
    react-native: 0.63.3 => 0.63.3
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found
staskochkin commented 3 years ago

Hello @SMJ93. Fix will be added in the next release.

SMJ93 commented 3 years ago

Hi @staskochkin, great! Thank you

When will the next release be?

staskochkin commented 3 years ago

@SMJ93 Changes have been added into react-native-appodeal@2.7.7. This version is available.

SMJ93 commented 3 years ago

Thank you @staskochkin. iOS is working now 😄