react-native-admob / admob

Admob for React Native with powerful hooks and components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hermes error

haivle opened this issue · comments

Description

Got this build error with hermes on

image

Expected behavior

No crash

Actual behavior & steps to reproduce

pod install
react-native run-ios

Snack or minimal code example

use_react_native!(
   :path => config[:reactNativePath],
   # to enable hermes on iOS, change `false` to `true` and then install pods
   :hermes_enabled => true
 )

Package versions

  • React Native: 0.64.2
  • React Native AdMob: 1.5.1 and 2.0.0
  • Google Mobile Ads SDK(if specified):
  • Xcode: 12

Affected platforms

  • Android
  • iOS

Removing import React works for me
Reference from this thread lottie-react-native/lottie-react-native#708 (comment)