{"id":14974303,"url":"https://github.com/bartolomej/rn-alarm","last_synced_at":"2025-07-13T13:40:31.779Z","repository":{"id":40631047,"uuid":"239000841","full_name":"bartolomej/rn-alarm","owner":"bartolomej","description":"React Native alarm clock application ⏰","archived":false,"fork":false,"pushed_at":"2023-03-02T15:48:19.000Z","size":23763,"stargazers_count":66,"open_issues_count":19,"forks_count":18,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T03:24:02.480Z","etag":null,"topics":["alarm-clock","example-code","example-project","react-native","react-native-app"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bartolomej.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-07T18:51:47.000Z","updated_at":"2025-01-20T02:33:21.000Z","dependencies_parsed_at":"2024-09-23T15:12:39.742Z","dependency_job_id":null,"html_url":"https://github.com/bartolomej/rn-alarm","commit_stats":{"total_commits":17,"total_committers":1,"mean_commits":17.0,"dds":0.0,"last_synced_commit":"b65cf56c754e9d3dfefd24a90ccb7c7add5bc701"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartolomej%2Frn-alarm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartolomej%2Frn-alarm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartolomej%2Frn-alarm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartolomej%2Frn-alarm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bartolomej","download_url":"https://codeload.github.com/bartolomej/rn-alarm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238455161,"owners_count":19475400,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alarm-clock","example-code","example-project","react-native","react-native-app"],"created_at":"2024-09-24T13:50:22.053Z","updated_at":"2025-02-12T10:32:50.679Z","avatar_url":"https://github.com/bartolomej.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Native Alarm app\n\n\u003e This is an example implementation of a basic alarm clock app.\nMade for Android with [React Native](https://facebook.github.io/react-native/) framework. \n\nIt demonstrates communication with native Android code via [react-native bridge](https://facebook.github.io/react-native/docs/native-modules-android), \nscheduling Android alarms with [AlarmManager](https://developer.android.com/reference/android/app/AlarmManager),\nworking with foreground services for playing background music,...\n\n\n| View all alarms          | Create or edit alarm         | Ring              |\n|-----------------------------|-------------------------------|--------------------------------|\n| ![](./screenshots/alarm-screen.png) | ![](./screenshots/edit-screen.png) | ![](./screenshots/ring-screen.png) |\n\n## Scripts\n- `npm start` - starts metro build server\n- `npm run android` - builds and runs android app\n- `npm run android:release:build:apk` - builds release apk ready for publishing\n- `npm run android:release:build:aab` - builds release aab ready for publishing\n- `npm run android:release:test` - builds release apk for testing\n\n## Release build\n\nRead about release builds [here](https://facebook.github.io/react-native/docs/signed-apk-android).\n\n1. Run the following command under JDK bin folder and replace password in `~/.gradle/gradle.properties`.\n```bash\nsudo keytool -genkey -v -keystore release.keystore -alias rn-alarm-app -keyalg RSA -keysize 2048 -validity 10000\n```\n\n2. Store keystore credentials as environment variables in `.bash_profile`\n\n```bash\nexport ALARM_APP_KEYSTORE_ALIAS_NAME=keystore-alias\nexport ALARM_APP_KEYSTORE_KEY_PASSWORD=*****\nexport ALARM_APP_KEYSTORE_PASSWORD=*****\n```\n\n## Resources\n\n- [Storing android signing config](https://medium.com/@umar.hussain/storing-android-signing-config-credentials-secure-and-platform-independent-c593464f927c)\n- [Setting environment variables in MacOS](https://medium.com/@himanshuagarwal1395/setting-up-environment-variables-in-macos-sierra-f5978369b255)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbartolomej%2Frn-alarm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbartolomej%2Frn-alarm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbartolomej%2Frn-alarm/lists"}