This repository has been archived on 2025-06-17. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Nikolai R Kristiansen dac31e916a android: bump
xcode reorders the project file
2017-09-20 21:28:51 +02:00
2017-07-21 16:20:17 +02:00
2017-09-20 21:28:51 +02:00
2017-09-20 21:28:51 +02:00
2017-09-18 00:11:49 +02:00
2017-08-18 00:39:59 +02:00
2017-07-17 22:16:14 +02:00
2017-08-23 15:51:45 +02:00
2017-08-08 22:34:02 +02:00
2017-01-16 23:53:06 +01:00
2017-09-20 21:00:38 +02:00
2017-09-18 00:15:33 +02:00
2017-01-16 23:53:06 +01:00
2017-04-14 02:11:18 +02:00
2017-09-20 21:00:38 +02:00
2017-09-20 21:00:38 +02:00
2017-09-20 21:00:38 +02:00
2017-09-20 21:00:38 +02:00
2017-09-20 21:00:38 +02:00
2017-09-20 21:00:38 +02:00

Install

# See https://facebook.github.io/react-native/docs/getting-started.html#content
yarn

# Environment settings
cp env-example .env

# Sentry
# Get auth token from https://sentry.neuf.no/api/ with project:write scope
cp ios/sentry.properties-example ios/sentry.properties
cp android/sentry.properties-example android/sentry.properties

react-native start
react-native run-android

Development

# Improve compile times
touch ~/.gradle/gradle.properties && echo -e "org.gradle.daemon=true\norg.gradle.jvmargs=-Xmx2048M" >> ~/.gradle/gradle.properties

# Run android emulator (first avd)
yarn emulator

# Make sure you have hw.keyboard=yes in your avd config.ini (in $HOME/.android/avd/.../) for reloading when pressing R twice to work.

Create release build (Android)

# Aquire the keystore and put it in android/app/dusken-client.keystore

# Put these properties in ~/.gradle/gradle.properties along with the correct passwords
DUSKEN_RELEASE_STORE_FILE=dusken-client.keystore
DUSKEN_RELEASE_KEY_ALIAS=dusken-client
DUSKEN_RELEASE_STORE_PASSWORD=
DUSKEN_RELEASE_KEY_PASSWORD=

# Build
yarn build-android

# Output is in android/app/build/outputs/apk

Libraries

We use https://nativebase.io/ for generic UI components

S
Description
Chateau Neuf mobile app in React Native
Readme
2.6 MiB
0 Stars 9 Watchers 0 Forks
Languages
JavaScript 95.1%
Ruby 1.3%
Objective-C 1.3%
Starlark 1.2%
Java 1.1%