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

Android X import issue in release mode #53

Closed
b-allard opened this issue Jul 14, 2020 · 1 comment
Closed

Android X import issue in release mode #53

b-allard opened this issue Jul 14, 2020 · 1 comment

Comments

@b-allard
Copy link

b-allard commented Jul 14, 2020

Hi,

I use your librairy and I wil be in production very soon. So I have tried to build my app for Android in release mode.
So when I build I have some androidX import issue inside your library in release mode :

Project/node_modules/rn-secure-storage/android/src/main/java/com/taluttasgiran/rnsecurestorage/RNSecureStorageModule.java:5: error: package android.support.annotation does not exist
import android.support.annotation.Nullable;
                                 ^
Project/node_modules/rn-secure-storage/android/src/main/java/com/taluttasgiran/rnsecurestorage/RNSecureStorageModule.java:44: error: cannot find symbol
    public void set(String key, String value, @Nullable ReadableMap options, Promise promise) {
                                               ^
  symbol:   class Nullable
  location: class RNSecureStorageModule

lib import : "rn-secure-storage": "^2.0.5"
React Native : "react-native": "0.62.2",

Please could you fix the imports ?

Thanks in advance,

b-allard

@talut
Copy link
Owner

talut commented Jul 17, 2020

Please update to v2.0.6

@talut talut closed this as completed Jul 17, 2020
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

2 participants