Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

react-native-quick-crypto not working #20

Open
vallemar opened this issue Apr 16, 2023 · 1 comment
Open

react-native-quick-crypto not working #20

vallemar opened this issue Apr 16, 2023 · 1 comment

Comments

@vallemar
Copy link
Sponsor

vallemar commented Apr 16, 2023

I am testing react-native-quick-crypto and react-native-quick-base64 but it is not working on ios and android

I have been testing it on android and ios, but it does not work on any

In IOS I have this error:

[!] Unable to find a specification for `React-callinvoker` depended upon by `react-native-quick-crypto`

You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.

In android I have this error:

Build file '/xxxx/node_modules/react-native-quick-crypto/android/build.gradle' line: 51
A problem occurred evaluating project ':react-native-quick-crypto'.
/xxxx/node_modules/react-native/ReactAndroid/gradle.properties (No such file or directory)
@vallemar
Copy link
Sponsor Author

vallemar commented Apr 16, 2023

In android after patching this line to this::

file("$nodeModules/@open-native/core/react-android/gradle.properties").withInputStream { reactProperties.load(it) }

And this lines to:

  implementation "com.facebook.react:react-android:0.71.0"
  implementation "com.facebook.react:hermes-android:0.71.0"

Now I have this error

/xxxx/node_modules/react-native-quick-base64/android/src/main/java/com/reactnativequickbase64/QuickBase64Module.java:30: error: cannot find symbol
        context.getJavaScriptContextHolder().get(),
                                            ^
  symbol:   method get()
  location: class JavaScriptContextHolder
1 error

Execution failed for task ':react-native-quick-base64:compileDebugJavaWithJavac'.
Compilation failed; see the compiler error output for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant