Skip to content
Discussion options

You must be logged in to vote

The last paragraph changes once somebody opens the mode on a real phone; README "Honest status" keeps that record.

Yes, when two conditions hold.

1. The build carries a GitHub OAuth App client id.

  • Register an OAuth App on your own GitHub account: tick "Enable Device Flow", leave "Expire user access tokens" unticked, and do not generate a client secret.
  • Give the build its Client ID through one of these:
    • the environment variable LESSONS_GITHUB_CLIENT_ID, for example LESSONS_GITHUB_CLIENT_ID=… ./gradlew assembleDebug;
    • a repository secret of the same name, for apk.yml;
    • lessons.github.clientId=… in your own ~/.gradle/gradle.properties.
  • #453 covers the rest of how to build your own APK.
  • Gra…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lumenpearson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area:android for:contributor Whoever changes the code or the documents: setup, checks, where a change goes
1 participant