Skip to content

The Odysee Android app with wallet functionality. Detailed build instructions in the README, and an improved build.gradle

License

Notifications You must be signed in to change notification settings

LinuxUser255/odysee-android

 
 

Repository files navigation

Odysee Android

license

Build from Source

Instructions:

  1. Download and install Android Studio or Intellij Idea, ( Intellij IDE worked for me in building this APK)

  2. git clone this repo into a directory of your chosinng on your machine

git clone https://github.com/LinuxUser255/odysee-android.git

  1. You will have to update the JDK, and SDK in the IDE when you open this repo. (I used the Android API 35 SDK)

  2. Then navigate in the file tree to app/twitter.properties.sample and copy it and name the copy: app/twitter.properties

  3. Open the copy of twitter .properties you made and delete the XXXXXX values so that it looks like this:

TWITTER_CONSUMER_KEY=
TWITTER_CONSUMER_SECRET=
  1. Now to proceed to the next step, you will need to have a signing key/digital signature to build this APK, this is done using the IDE

  2. In the menu go to-> buid/Generate signed APK follow the prompts, and remember the passwords and alias you created

  3. At this point you now need to add your APK digital signature to the app/build.gradle file Adding it using the build.gradle provided by Odysee can be tricky, so I am including mine to use as a template, It looks like this, but just edit the one here in my fork of this repo.

See line 40 in my build.gradle and type in the creds you created.

Remember it's the gradel file in app/build.gradle file path. access it via the link above ^^^

android {
    signingConfigs {
        release {
            storeFile file('<<put full path to the .JKS Java keychain file>>')
            storePassword '<<password of the file>>'
            keyAlias '<<the alias you chose for the digital signature>>'
            keyPassword '<<the password for the key>>'
        }
    }
(...)

    buildTypes {
      release {
          (...)
          debuggable false
          signingConfig signingConfigs.release
      }
  1. Then you will be able to build a signed APK file via Build/Generate Signed Bundle/APK... menu item on Android Studio There are two build variants: Full and FOSS. The Full variant uses Google APIs and the FOSS variant doesn't. You can switch between them on the "Build Variants" tab in Android Studio.

  2. In the IDE menu navigate to: Build/Generate Signed Bundle/APK Observe the file/directory location where the APK will be stored. You need to know this when side loading it on your phone.

  3. Once you succesfully completed the steps above, you can side load it using Android Debug Bridge adb in the command line https://developer.android.com/tools/adb There are some decent online tutorials on how to do this.

Contributing

We ❤️ contributions from everyone and contributions to this project are encouraged, and compensated. We welcome bug reports, bug fixes and feedback is always appreciated.

contributions welcome GitHub contributors

License

This project is MIT licensed. For the full license, see LICENSE.

My fork of this project uses the GNU Public License Version 3 (GPLv3)

Security

We take security seriously. Please contact [email protected] regarding any security issues.

Contact

The primary contact for this project is @akinwale ([email protected])

About

The Odysee Android app with wallet functionality. Detailed build instructions in the README, and an improved build.gradle

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%