This is a fork from tiktok-ui (thanks to @ReinanHS), with some added functionality. TikTok, also known as Douyin in China, is a media app for creating and sharing short videos. The purpose of this is a proof of concept to demonstrate how popular social media applications can take potentially sensitive user data without the user's awareness.
In this specific application, the clipboard will be copied for every key press (similar to how iOS14 exposed Tik Tok). An example of the application working can be seen below (right) with an example of iOS (left):
## Prerequisites- Git (https://git-scm.com/)
- Node (https://nodejs.org)
- Android Studio (https://developer.android.com/studio)
- Binaries
- Node: 12.9.1
- Yarn: 1.21.1
- npm: 6.13.7
- npmPackages
- react: 16.9.0
- react-native: 0.61.5
The first thing we have to do is download the repository for our development environment
git clone https://github.com/sengi12/tikattak.git
Run the following command to download the project's dependencies
npm install
Now that all the dependencies have been downloaded we will install the application on the emulator with the following command
npx react-native run-android
Expo fails to start the project: error Invalid regular expression: /(.*\\__fixtures__
If you have a problem with this error, follow these steps
to solve this problem you have to change this file \node_modules\metro-config\src\defaults\blacklist.js
there is an invalid regular expression that needed changed. I changed the first expression under sharedBlacklist
from:
var sharedBlacklist = [
/node_modules[/\\]react[/\\]dist[/\\].*/,
/website\/node_modules\/.*/,
/heapCapture\/bundle\.js/,
/.*\/__tests__\/.*/
];
to:
var sharedBlacklist = [
/node_modules[\/\\]react[\/\\]dist[\/\\].*/,
/website\/node_modules\/.*/,
/heapCapture\/bundle\.js/,
/.*\/__tests__\/.*/
];
for more details see Stackoverflow
See more details in this video