yarn add react-native-configreact-native link react-native-config- Create
.envfiles for each configuration. Ex:.env.dev,.env.prod, etc Ex:
API_ENDPOINT=https://api.myresource.com/dev
ENV=dev
yarn add react-native-configreact-native link react-native-config.env files for each configuration. Ex: .env.dev, .env.prod, etc
Ex:API_ENDPOINT=https://api.myresource.com/dev
ENV=dev
| // | |
| // Keychain.swift | |
| // SecKeychain | |
| // | |
| // Created by Paul Wagener on 01-11-17. | |
| // Copyright © 2017 Paul Wagener. All rights reserved. | |
| // | |
| import Foundation |
This guide assumes you've got a project using Detox with Jest, and you want to write your Detox tests in TypeScript.
We'll be using ts-jest to run Jest tests with TypeScript.
| trigger: | |
| - none | |
| pool: | |
| vmImage: 'ubuntu-latest' | |
| variables: | |
| YARN_CACHE_FOLDER: $(Pipeline.Workspace)/.yarn | |
| GRADLE_USER_HOME: $(Pipeline.Workspace)/.gradle |