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

Feature - env variables #149

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

EmersonPinheiro
Copy link
Contributor

@EmersonPinheiro EmersonPinheiro commented Mar 15, 2022

Description

This PR:

  • Adds react-native-dotenv plugin;
  • Refactors meditations.ts and analytics.ts to add API_URL and UA to .env file;
  • Creates an env.d.ts file for env variables type declarations.

Ticket Link

Closes #141

How has this been tested?

Tested Home Screen, download and meditation reproduction on an Android 12 Physical device.

Checklist

  • Added a "Closes [issue number]" in the ticket link section
  • You have performed a self-review of your own code

@netlify
Copy link

netlify bot commented Mar 15, 2022

Deploy Preview for blissful-bartik-f90911 ready!

Name Link
🔨 Latest commit 3acc7f4
🔍 Latest deploy log https://app.netlify.com/sites/blissful-bartik-f90911/deploys/6251dfcde2cf3e00085483cf
😎 Deploy Preview https://deploy-preview-149--blissful-bartik-f90911.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@EmersonPinheiro EmersonPinheiro changed the title Feature/141 env variables Feature/ env variables Mar 15, 2022
@EmersonPinheiro EmersonPinheiro changed the title Feature/ env variables Feature - env variables Mar 15, 2022
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

Successfully merging this pull request may close these issues.

Refactor hard coded values to environment variables
2 participants