Open amitbravo opened 6 years ago
it may sound stupid but I found a solution for this, I do not know how it worked. I was using react-native-firebase too in the podfile . instead of using all modules as below
pod 'Firebase/Core'
pod 'Firebase/AdMob'
pod 'Firebase/Analytics'
pod 'Firebase/Auth'
pod 'Firebase/Crash'
pod 'Firebase/Database'
pod 'Firebase/DynamicLinks'
pod 'Firebase/Messaging'
pod 'Firebase/RemoteConfig'
pod 'Firebase/Storage'
pod 'Firebase/Firestore'
pod 'Firebase/Performance'
I kept only essential modules as
pod 'Firebase/Core'
pod 'Firebase/Auth'
pod 'Firebase/Database'
pod 'Firebase/Messaging'
pod 'Firebase/Storage'
pod 'Firebase/Firestore'
I deleted pod folder , reinstall pod and it worked.
use "$ react-native link react-native-doc-viewer" ,it is simple i think.
@amitbravo exactly same issue.
but your solution is not working. any ideas?
"react-native": "^0.55.2", "react": "^16.3.1", "react-native-doc-viewer" : "2.7.8" and 2.7.7 and 2.7.3 tested too.
soon I click on click button , it throws this into xcode but no error in debugger or in emulator , either it makes app freeze or crash. Android working fine.
code I tested
crash with 2.7.3 and 2.7.8 with following error