Closed birat-pandey closed 7 months ago
React native 0.68 is nearly two years old not supported anymore. Neither by the React native team or by this library.
Please update, or use an old release.
EDIT: Don't add platform :ios, min_ios_version_supported
, prepare_react_native_project!
, they are in supported versions Podfile
and only serve as a landmark here (for the context). Only setup_permissions
must be added
I'm using an even lower version 0.67.4
but able to run following the docs. just add these two lines below:
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
require_relative '../node_modules/react-native-permissions/scripts/setup' //1. add this
platform :ios, '13.0'
$RNFirebaseAnalyticsWithoutAdIdSupport = true
setup_permissions(['Notifications']) //2. add this
...
Before submitting a new issue
Bug summary
React native version 0.68.2
I followed the documentation as I had to upgrade the permission due to customer io upgrade , I encountered this error:
[!] Invalid], @current_target_definition=#>.
Podfile
file: undefined method `prepare_react_native_project!' for #<Pod::Podfile:0x00000001048eea18 @defined_in_file=#<Pathname:/Users/.../projectname/ios/Podfile>, @internal_hash={}, @root_target_definitions=[#This is how my podfile looks like:
Library version
4.1.5
Environment info
Steps to reproduce
Reproducible sample code