https://github.com/timonus/tjscaletipper
Rock the vote
https://github.com/timonus/tjscaletipper
Last synced: 7 months ago
JSON representation
Rock the vote
- Host: GitHub
- URL: https://github.com/timonus/tjscaletipper
- Owner: timonus
- License: bsd-3-clause
- Created: 2024-08-09T16:18:42.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-01T13:02:06.000Z (over 1 year ago)
- Last Synced: 2025-02-18T01:38:36.664Z (over 1 year ago)
- Language: Objective-C
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TJScaleTipper
This is a small bit of code you can use to determine whether folks are good candidates to encourage to vote. It includes the following.
- `isGoodCandidateToEncourageVoting`, a method you can check to determine if the person using your app is a good candidate to encourage to vote. Checks if (1) locale is US, (2) it’s not past Election Day, (3) user doesn’t have any conservative-biased apps installed*.
- `kTJOneMonthBeforeElectionDayUnixTimestamp`, a date before which I’m recommending people to register to vote.
- `kTJOneWeekBeforeElectionDayUnixTimestamp`, a date after which I’m reminding people to vote.
- `kTJEndOfElectionDayUnixTimestamp`, Election Day itself.
- `kTJVoterRegistrationURLString`, the recommended URL people can use to check their voter registration status.
*Be sure to include the following entries in your app’s `LSApplicationQueriesSchemes`:
- `com.rumble.battles`
- `dailywire`
- `com.cappital.prageru`
- `mindsapp`
- `mewe`
- `adbe.LI0uai0cRquGimk1SKNvDg`
- `rsbn`
- `myapp`
- `second1st`
- `conservativenews`
- `talkradio`
- `foxnews`
- `breitbartapp`