https://github.com/xrahul/notifyavailability
React Native App to check when a string has appeared on a webpage.
https://github.com/xrahul/notifyavailability
android async-await background-task es6 ios notifications react-native
Last synced: 7 months ago
JSON representation
React Native App to check when a string has appeared on a webpage.
- Host: GitHub
- URL: https://github.com/xrahul/notifyavailability
- Owner: xRahul
- License: apache-2.0
- Created: 2018-05-05T16:16:50.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-11-14T07:00:06.000Z (7 months ago)
- Last Synced: 2024-11-14T08:17:21.902Z (7 months ago)
- Topics: android, async-await, background-task, es6, ios, notifications, react-native
- Language: JavaScript
- Size: 8.33 MB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 50
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NotifyAvailability
[](https://github.com/xRahul/NotifyAvailability/blob/master/License.txt)
[](https://travis-ci.org/xRahul/NotifyAvailability)
[](https://github.com/xRahul/NotifyAvailability/releases/latest)
[](https://libraries.io/github/xRahul/NotifyAvailability)[](https://www.codacy.com/app/xRahul/NotifyAvailability)
[](https://codeclimate.com/github/xRahul/NotifyAvailability/maintainability)
[](https://www.codefactor.io/repository/github/xrahul/notifyavailability)
[](https://codebeat.co/projects/github-com-xrahul-notifyavailability-master)[](https://sonarcloud.io/dashboard?id=NotifyAvailability%3Aapp)
[](https://sonarcloud.io/dashboard?id=NotifyAvailability%3Aapp)
[](https://sonarcloud.io/dashboard?id=NotifyAvailability%3Aapp)
[](https://sonarcloud.io/dashboard?id=NotifyAvailability%3Aapp)
[](https://sonarcloud.io/dashboard?id=NotifyAvailability%3Aapp)### Overview
* This app takes input from the user to set up background periodic check of a webpage for a text.
* It creates a background task to notify the user if a text is present on the web page or not.
* This task is executed repeatedly once every ~15 mins depending on the OS.
* It will also show the time check was last made.#### Input Criteria
* This app asks the user for a `URL` and a `search text`.
* You can also set whether to get notification when search text `is present` on the webpage or when it `is absent`.
* You can set the webpage type to be `desktop` or `mobile` to get different html accordingly.
* You can set the search to be `case sensitive` or `case insensitive`.### Tech Stack
* React Native
* react-native-background-timer
* react-native-push-notification
* moment.js### Testing
* Tested on Android only.
* iOS testing is pending (device unavailable)### Steps to execute Locally
* You would need android tools and java
* Generate a Key by following: [https://facebook.github.io/react-native/docs/signed-apk-android.html](https://facebook.github.io/react-native/docs/signed-apk-android.html)
* run `yarn` to install dependencies
* run on connected android device using: `react-native run-android`
* build the signed apks using: `cd android && ./gradlew assembleRelease`### Use Case
One use case is that we enter the URL of a movie booking website to get notified when it opens booking for a Cinema on the day we want.
