Skip to content

Commit

Permalink
Added caseSensitive and InvertedSearch switches
Browse files Browse the repository at this point in the history
  • Loading branch information
xRahul committed May 6, 2018
1 parent a012ee9 commit 54eea8f
Show file tree
Hide file tree
Showing 22 changed files with 258 additions and 99 deletions.
29 changes: 19 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,34 @@
### NotifyAvailability
# NotifyAvailability

#### Overview
* This app asks the user for a `URL`, `pageType` (Desktop/Mobile) and a `search string`.
* Then it creates a background task to notify the user if that string is present on the web page (case-insensitive).
### 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 when the it was last checked.
* 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

#### Tech Stack
* React Native
* react-native-background-fetch
* react-native-background-task
* react-native-push-notification
* moment.js

#### Testing
### Testing

* Tested on Android only.
* iOS testing is pending (device unavailable)

#### 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.

### 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.

![Movie Booking Use Case](https://github.com/xRahul/NotifyAvailability/raw/e25af47daf950779cc446153e08603fe04cc72fd/screenshots/movie-use-case-notify-availability.jpg)
Binary file modified android/.gradle/2.14.1/taskArtifacts/cache.properties.lock
Binary file not shown.
Binary file modified android/.gradle/2.14.1/taskArtifacts/fileHashes.bin
Binary file not shown.
Binary file modified android/.gradle/2.14.1/taskArtifacts/fileSnapshots.bin
Binary file not shown.
Binary file not shown.
Binary file modified android/.gradle/2.14.1/taskArtifacts/taskArtifacts.bin
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ android {
applicationId "com.notifyavailability"
minSdkVersion 16
targetSdkVersion 22
versionCode 6
versionName "0.6"
versionCode 7
versionName "0.7"
ndk {
abiFilters "armeabi-v7a", "x86"
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "NotifyAvailability",
"version": "0.6.0",
"version": "0.7.0",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
Expand Down
Binary file modified screenshots/movie-use-case-notify-availability-full.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/movie-use-case-notify-availability.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 54eea8f

Please sign in to comment.