bartolomej / rn-alarm

React Native alarm clock application ⏰

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Native Alarm app

This is an example implementation of a basic alarm clock app. Made for Android with React Native framework.

It demonstrates communication with native Android code via react-native bridge, scheduling Android alarms with AlarmManager, working with foreground services for playing background music,...

View all alarms Create or edit alarm Ring

Scripts

  • npm start - starts metro build server
  • npm run android - builds and runs android app
  • npm run android:release:build:apk - builds release apk ready for publishing
  • npm run android:release:build:aab - builds release aab ready for publishing
  • npm run android:release:test - builds release apk for testing

Release build

Read about release builds here.

  1. Run the following command under JDK bin folder and replace password in ~/.gradle/gradle.properties.
sudo keytool -genkey -v -keystore release.keystore -alias rn-alarm-app -keyalg RSA -keysize 2048 -validity 10000
  1. Store keystore credentials as environment variables in .bash_profile
export ALARM_APP_KEYSTORE_ALIAS_NAME=keystore-alias
export ALARM_APP_KEYSTORE_KEY_PASSWORD=*****
export ALARM_APP_KEYSTORE_PASSWORD=*****

Resources

About

React Native alarm clock application ⏰

License:MIT License


Languages

Language:Java 57.9%Language:JavaScript 31.5%Language:Objective-C 5.9%Language:Ruby 3.9%Language:Starlark 0.8%