-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Keys not working on iOS #44
Comments
👋 @dayaki |
@dayaki did you add this script in pre-action?
|
Just added it now and same issue. Do I need to follow the steps listed here https://github.com/numandev1/react-native-keys#ios ? even if I don't plan to access the variables from the native side? |
@dayaki no you don't need those steps, can we see it on zoom session? |
yes sure |
@dayaki can you connect with me on LinkedIn https://www.linkedin.com/in/numandev/ where we can send zoom session |
@numandev1 I figured it out...I was adding the scheme script in run pre-action instead of build pre-action. Would you advice the |
@dayaki Yes, I advise you to add product keys.json into gitignore not dev or staging otherwise you have to involve in the setup of every new developer in the team |
@dayaki would you like to make PR for improve documentation of this package or you can give feedback i can change, thanks |
Current behavior
Installed the package, did pod install, created keys.development.json file with secure entries:
{ "secure": { "APP_URL": "website-url.com", } }
but I can't access them, they return empty when I do
console.log('keys', Keys.secureFor('APP_URL'))
Expected behavior
console.log('keys 2', Keys.secureFor('APP_URL'))
should return the expected data insecure: { "APP_URL": "url"}
Platform
Versions
React Native Version ->
0.71.11
React Native Keys ->
0.5.14
The text was updated successfully, but these errors were encountered: