Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix Auth iOS pod lock drift

Manav Rathi43b99673f969
diff --git a/.github/workflows/auth-lint.yml b/.github/workflows/auth-lint.yml
index 3bc005a7ee..5a0fd8e44c 100644
--- a/.github/workflows/auth-lint.yml
+++ b/.github/workflows/auth-lint.yml
@@ -82,6 +82,14 @@ jobs:
- run: flutter pub get --enforce-lockfile
+ - name: Verify iOS pods lockfile
+ run: |
+ # Match Homebrew CocoaPods' JSON output so path-pod checksums match macOS.
+ sudo gem install json -v 2.18.0 --no-document
+ sudo gem install cocoapods -v 1.16.2 --no-document
+ pod install --deployment
+ working-directory: mobile/apps/auth/ios
+
- name: Generate auth localizations
run: flutter gen-l10n
diff --git a/mobile/apps/auth/README.md b/mobile/apps/auth/README.md
index 045f9f7d09..e9200b2e29 100644
--- a/mobile/apps/auth/README.md
+++ b/mobile/apps/auth/README.md
@@ -41,7 +41,7 @@ You can view your 2FA codes at [auth.ente.com](https://auth.ente.com). For addin
3. Install dependencies using one of these methods:
- **Using Melos (recommended):** Install Melos with `dart pub global activate melos`, then from any folder inside `mobile/`, run `melos bootstrap`. This will install dependencies.
- - **Using Flutter directly:** Run `flutter pub get` in `packages/strings` and this folder
+ - **Using Flutter directly:** Run `flutter pub get --enforce-lockfile` in `packages/strings` and this folder
4. Run the app:
- Android: `flutter run --flavor independent`
@@ -52,6 +52,10 @@ To build a release APK, [setup your keystore](https://docs.flutter.dev/deploymen
If the code you're working needs to modify user facing strings, see [docs/localization](docs/localization.md).
+### Updating dependencies
+
+After updating Flutter dependencies, run `pod install` from `ios/` on macOS and commit `ios/Podfile.lock` if it changes.
+
## πŸ”© Architecture
The architecture that powers end-to-end encrypted storage and sync of your tokens has been documented [here](../../../architecture/README.md#token-encryption).
diff --git a/mobile/apps/auth/ios/Podfile.lock b/mobile/apps/auth/ios/Podfile.lock
index eee3ad29d0..cd0616f536 100644
--- a/mobile/apps/auth/ios/Podfile.lock
+++ b/mobile/apps/auth/ios/Podfile.lock
@@ -254,7 +254,7 @@ SPEC CHECKSUMS:
flutter_secure_storage: 2c2ff13db9e0a5647389bff88b0ecac56e3f3418
fluttertoast: 2c67e14dce98bbdb200df9e1acf610d7a6264ea1
launcher_icon_switcher: 84c218d233505aa7d8655d8fa61a3ba802c022da
- local_auth_darwin: d2e8c53ef0c4f43c646462e3415432c4dab3ae19
+ local_auth_darwin: c3ee6cce0a8d56be34c8ccb66ba31f7f180aaebb
move_to_background: 7e3467dd2a1d1013e98c9c1cb93fd53cd7ef9d84
MTBBarcodeScanner: f453b33c4b7dfe545d8c6484ed744d55671788cb
package_info_plus: af8e2ca6888548050f16fa2f1938db7b5a5df499