Skip to content

After Installing the package, I can't pod install or gradlew build. #268

@tdammy92

Description

@tdammy92

After installing the package i get build issues on both platforms, Android and IOS . i un-installed the package and everything was fine.

SDK version:

SDK version

"customerio-reactnative": "^3.7.0",
React-native verion
"react-native": "0.69.7",

Are logs available?

Error message

IOS:

error Failed to build the app: No package name found. Found errors in /MyMac/Desktop/Dev/SimpuMobile/node_modules/customerio-reactnative/android/src/main/AndroidManifest.xml.

[!] Invalid `Podfile` file: 859: unexpected token at 'info Run CLI with --verbose flag for more details.
'.

 #  from /Users/MyMac/Desktop/Dev/SimpuMobile/ios/Podfile:32
 #  -------------------------------------------
 #  target 'SimpuMobile' do
 >    config = use_native_modules!
 #  
 #  -------------------------------------------

Android:

 What went wrong:
A problem occurred evaluating script.
> Calling `[node, /Users/simpuinc/Desktop/Dev/SimpuMobile/node_modules/@react-native-community/cli/build/bin.js, config]` finished with an exception. Error message: groovy.json.JsonException: Unable to determine the current character, it is not a string, number, array, or object
  
  The current character read is 'i' with an int value of 105
  Unable to determine the current character, it is not a string, number, array, or object
  line number 1
  index number 0
  info Run CLI with --verbose flag for more details.
  ^. Output: info Run CLI with --verbose flag for more details.

Describe the issue

After installing the package i get build issues on both platforms, Android and IOS . running pod install or ./gradlew clean runs into errors, but when i remove the package everything will work perfectly.

Screenshots

Additional context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions