Skip to content

FusRoDah061/randomvideo-app

Repository files navigation

Random Video

banner

Watch random videos from your favorite content creators!

Watch random videos from your favorite content creators!

Use this app when you want to watch something from a content creator you like, but you don't know what to watch. Surprise yourself!

Given a channel, it will then randomly choose one of the latest 50 videos for you.

Google Play

screenshots

Development

To setup a local environment:

  • Clone the repository
  • Run the yarn command to install dependencies
  • Launch the app with yarn android or yarn ios

Releases

Releases are managed through Microsoft's AppCenter

Pushing to the staging branch will trigger the staging build, shich will be distributed to all members of the project.

Pushing to the master branch will tigger the master build, which will publish a new version on Google Play. Ideally, anything must go through staging before merging into master.

Manually build Android release

Run gradle build inside android folder to generate final aab: gradlew clean bundleRelease

Manually install on device

Requires Google's bundletool

After running the release build, use the following commands to build a signed apk:

java -jar bundletool-all-1.3.0.jar ^
build-apks ^
--bundle=app/build/outputs/bundle/release/app-release.aab ^
--output=app-release.apks ^
--ks=your_keystore.keystore ^
--ks-key-alias=your_keystore_alias ^
--ks-pass=pass:keystore-pass

A file named app-release.apks will be created, shich can be installed on the device with:

java -jar bundletool-all-1.3.0.jar ^
install-apks ^
--adb=F:\\AndroidSdk\\platform-tools\\adb.exe ^
--apks=app-release.apks

Change the keystore parameters to your own environment (more info here).