Skip to content

[🐛] scriptPhases Issue with RN 69.0 #151

@wjaykim

Description

@wjaykim

Issue

With RN 69.0-rc.0, it looks like something changed with react-native.config.js.
When I tries to build app in ios, following message comes up:

Package react-native-google-mobile-ads has been ignored because it contains invalid configuration. Reason: "dependency.platforms.ios.scriptPhases[0]" must be a string

And this makes lots of errors in runtime, too.


Project Files

Javascript

Click To Expand

package.json:

# N/A

admob.json:

# N/A

iOS

Click To Expand

ios/Podfile:

# N/A

Android

Click To Expand

android/build.gradle:

// N/A

android/app/build.gradle:

// N/A

android/settings.gradle:

// N/A

AndroidManifest.xml:

<!-- N/A -->


Environment

Click To Expand

react-native info output:

 OUTPUT GOES HERE
  • Platform that you're experiencing the issue on:
    • iOS
    • Android
    • iOS but have not tested behavior on Android
    • Android but have not tested behavior on iOS
    • Both
  • Are you using TypeScript?
    • Y & 4.6.4


  • 👉 Check out Invertase on Twitter for updates on the library.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions