Your Android sign-in stays on your phone
Security
Why it matters: When you move to a new Android phone, your EyeOnMajors sign-in can no longer be copied along with your other data.
The Android app now leaves all of its data out of phone backups and out of transfers to a new phone. That includes your signed-in session, so it stays on the phone where you signed in.
If you move to a new phone, install the app and sign in again.
Under the hood: The app now has explicit rules for both cloud backups and the direct phone-to-phone transfer on newer Android versions, and both exclude all of its data. An automated test checks those rules on every build.
Commits (1)
-
f187c69Mobile code quality and security tooling (iOS, Android, secrets)
Files Changed (31)
.github/dependabot.yml | 11 +++ .github/workflows/ci.yml | 33 +++++++++ .github/workflows/ios-deps.yml | 25 +++++++ .github/workflows/ios.yml | 4 ++ .gitleaks.toml | 22 ++++++ android/app/build.gradle.kts | 6 ++ android/app/lint.xml | 19 +++++ android/app/src/main/AndroidManifest.xml | 2 + .../src/main/res/xml/data_extraction_rules.xml | 30 ++++++++ android/app/src/main/res/xml/full_backup_rules.xml | 15 ++++ .../norafoundry/eyeonmajors/BackupRulesTest.kt | 116 +++++++++++++++++++++++++++++++ bin/check-debug-guards | 39 +++++++++++ bin/check-ios-packages | 66 ++++++++++++++++++ bin/semgrep | 67 ++++++++++++++++++ bin/setup | 10 +++ docs/mobile/README.md | 44 +++++++++++-- docs/mobile/feature-parity.md | 4 +- ios/.swiftlint.yml | 52 ++++++++++++++ ios/EyeOnMajors/AuthStateComponent.swift | 2 +- ios/EyeOnMajors/OriginContentRules.swift | 8 ++- ios/EyeOnMajorsTests/.swiftlint.yml | 3 + ios/EyeOnMajorsUITests/.swiftlint.yml | 3 + ios/project.yml | 3 + lefthook.yml | 21 ++++++ test/bin/check_debug_guards_test.rb | 50 +++++++++++++ test/bin/check_ios_packages_test.rb | 43 ++++++++++++ test/bin/semgrep_test.rb | 39 +++++++++++ test/semgrep/android.kt | 36 ++++++++++ test/semgrep/android.yml | 25 +++++++ test/semgrep/ios.swift | 13 ++++ test/semgrep/ios.yml | 15 ++++ 31 files changed, 818 insertions(+), 8 deletions(-)