Skip to content

Commit

Permalink
migrations, crashlytics
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverbytes committed Apr 9, 2024
1 parent 962ced7 commit ed6ac29
Show file tree
Hide file tree
Showing 9 changed files with 445 additions and 439 deletions.
758 changes: 379 additions & 379 deletions .firebase/hosting.YnVpbGQvd2Vi.cache

Large diffs are not rendered by default.

84 changes: 39 additions & 45 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,46 +1,40 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.liso.app"
xmlns:tools="http://schemas.android.com/tools">
<!-- SERVICE -->
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<!-- STORAGE -->
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<!-- SECURITY -->
<uses-permission android:name="android.permission.USE_BIOMETRIC" />
<!-- BILLING -->
<uses-permission android:name="com.android.vending.BILLING" />
<!-- INTERNET -->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

<application android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:hasFragileUserData="true">
<activity android:name=".MainActivity" android:launchMode="singleTop" android:theme="@style/LaunchTheme" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize" android:exported="true">
<meta-data android:name="io.flutter.embedding.android.NormalTheme" android:resource="@style/NormalTheme" />
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<!-- Flutter Local Notifications -->
<service android:name="com.dexterous.flutterlocalnotifications.ForegroundService" android:exported="false" android:stopWithTask="false"/>
<!-- Flutter Embedding -->
<meta-data android:name="flutterEmbedding" android:value="2" />
<!-- Autofill Service -->
<activity android:name=".AutofillActivity" android:launchMode="singleTop" android:theme="@style/LaunchTheme" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize" android:exported="true">
<meta-data android:name="io.flutter.embedding.android.SplashScreenDrawable" android:resource="@drawable/launch_background" />
<meta-data android:name="io.flutter.embedding.android.NormalTheme" android:resource="@style/NormalTheme" />
<meta-data android:name="flutterEmbedding" android:value="2" />
</activity>

<meta-data android:name="com.keevault.flutter_autofill_service.ACTIVITY_NAME" android:value="com.liso.app.AutofillActivity" />
<meta-data android:name="com.keevault.flutter_autofill_service.SAVE_ACTIVITY_NAME" android:value="com.liso.app.AutofillActivity" />
<meta-data android:name="com.keevault.flutter_autofill_service.service_short_name" android:value="Liso" />
<meta-data android:name="com.keevault.flutter_autofill_service.match_header_drawable_name" android:value="ic_notification" />
<!-- <meta-data android:name="com.keevault.flutter_autofill_service.select_another_entry_drawable_name" android:value="ic_notification" /> -->
<meta-data android:name="com.keevault.flutter_autofill_service.select_another_entry" android:value="Pick again" />

<service android:name="com.keevault.flutter_autofill_service.FlutterAutofillService" tools:replace="label" android:label="Liso Password Manager">
<meta-data android:name="com.keevault.flutter_autofill_service.unlock_label" android:value="Autofill with Liso" />
<meta-data android:name="com.keevault.flutter_autofill_service.unlock_drawable_name" android:value="ic_notification" />
</service>
</application>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.liso.app" xmlns:tools="http://schemas.android.com/tools">
<!-- SERVICE -->
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<!-- STORAGE -->
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<!-- SECURITY -->
<uses-permission android:name="android.permission.USE_BIOMETRIC" />
<!-- BILLING -->
<uses-permission android:name="com.android.vending.BILLING" />
<!-- INTERNET -->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:hasFragileUserData="true">
<activity android:name=".MainActivity" android:launchMode="singleTop" android:theme="@style/LaunchTheme" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize" android:exported="true">
<meta-data android:name="io.flutter.embedding.android.NormalTheme" android:resource="@style/NormalTheme" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- Flutter Embedding -->
<meta-data android:name="flutterEmbedding" android:value="2" />
<!-- Autofill Service -->
<activity android:name=".AutofillActivity" android:launchMode="singleTop" android:theme="@style/LaunchTheme" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize" android:exported="true">
<meta-data android:name="io.flutter.embedding.android.SplashScreenDrawable" android:resource="@drawable/launch_background" />
<meta-data android:name="io.flutter.embedding.android.NormalTheme" android:resource="@style/NormalTheme" />
<meta-data android:name="flutterEmbedding" android:value="2" />
</activity>
<meta-data android:name="com.keevault.flutter_autofill_service.ACTIVITY_NAME" android:value="com.liso.app.AutofillActivity" />
<meta-data android:name="com.keevault.flutter_autofill_service.SAVE_ACTIVITY_NAME" android:value="com.liso.app.AutofillActivity" />
<meta-data android:name="com.keevault.flutter_autofill_service.service_short_name" android:value="Liso" />
<meta-data android:name="com.keevault.flutter_autofill_service.match_header_drawable_name" android:value="ic_notification" />
<!-- <meta-data android:name="com.keevault.flutter_autofill_service.select_another_entry_drawable_name" android:value="ic_notification" /> -->
<meta-data android:name="com.keevault.flutter_autofill_service.select_another_entry" android:value="Pick again" />
<service android:name="com.keevault.flutter_autofill_service.FlutterAutofillService" tools:replace="label" android:label="Liso Password Manager">
<meta-data android:name="com.keevault.flutter_autofill_service.unlock_label" android:value="Autofill with Liso" />
<meta-data android:name="com.keevault.flutter_autofill_service.unlock_drawable_name" android:value="ic_notification" />
</service>
</application>
</manifest>
4 changes: 2 additions & 2 deletions ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@
9705A1C41CF9048500538489 /* Embed Frameworks */,
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
E9C5F0114982A80114127729 /* [CP] Embed Pods Frameworks */,
CD861A6F6179EC65044C6883 /* [firebase_crashlytics] Crashlytics Upload Symbols */,
2BC70DDC939C7D9F43A9EBCE /* [CP] Copy Pods Resources */,
CD861A6F6179EC65044C6883 /* [firebase_crashlytics] Crashlytics Upload Symbols */,
);
buildRules = (
);
Expand Down Expand Up @@ -297,7 +297,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "# \"$PODS_ROOT/FirebaseCrashlytics/upload-symbols\" --flutter-project \"$PROJECT_DIR/firebase_app_id_file.json\" \n";
shellScript = "\"$PODS_ROOT/FirebaseCrashlytics/upload-symbols\" --flutter-project \"$PROJECT_DIR/firebase_app_id_file.json\" \n";
};
E9C5F0114982A80114127729 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
Expand Down
13 changes: 7 additions & 6 deletions lib/features/welcome/welcome.screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,13 @@ class WelcomeScreen extends StatelessWidget with ConsoleMixin {
alignment: WrapAlignment.center,
children: [
SizedBox(
width: 200,
child: ElevatedButton.icon(
label: Text('create_vault'.tr),
icon: const Icon(Iconsax.box_add_outline),
onPressed: controller.create,
)),
width: 200,
child: ElevatedButton.icon(
label: Text('create_vault'.tr),
icon: const Icon(Iconsax.box_add_outline),
onPressed: controller.create,
),
),
SizedBox(
width: 200,
child: OutlinedButton.icon(
Expand Down
7 changes: 7 additions & 0 deletions lib/features/welcome/welcome_screen.controller.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import 'package:app_core/config.dart';
import 'package:app_core/config/app.model.dart';
import 'package:app_core/globals.dart';
import 'package:app_core/pages/routes.dart';
import 'package:app_core/services/local_auth.service.dart';
import 'package:app_core/services/notifications.service.dart';
import 'package:app_core/utils/utils.dart';
Expand Down Expand Up @@ -29,6 +31,11 @@ class WelcomeScreenController extends GetxController
// FUNCTIONS

void create() async {
await Utils.adaptiveRouteOpen(
name: Routes.upgrade,
parameters: {'cooldown': CoreConfig().premiumScreenCooldown.toString()},
);

change(null, status: RxStatus.loading());

if (!isLocalAuthSupported) {
Expand Down
12 changes: 6 additions & 6 deletions macos/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */; };
50CB95B53F2E9FBEB699BA9F /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 56542191D1EB2CE133C94B48 /* Pods_Runner.framework */; };
726173D42BA2AC5900F16819 /* StoreKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 726173D32BA2AC5900F16819 /* StoreKit.framework */; };
72E1A4062BB4D215001D0EA3 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 72E1A4052BB4D215001D0EA3 /* GoogleService-Info.plist */; };
72EA35182BBE903A0021295F /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 72EA35172BBE903A0021295F /* GoogleService-Info.plist */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -73,7 +73,7 @@
56542191D1EB2CE133C94B48 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
6F28767D6832AC89977AA239 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
726173D32BA2AC5900F16819 /* StoreKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = StoreKit.framework; path = System/Library/Frameworks/StoreKit.framework; sourceTree = SDKROOT; };
72E1A4052BB4D215001D0EA3 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = "GoogleService-Info.plist"; path = "Runner/GoogleService-Info.plist"; sourceTree = "<group>"; };
72EA35172BBE903A0021295F /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; };
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = "<group>"; };
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = "<group>"; };
AAE7F9A582A699D8B9D3B9A9 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -125,7 +125,7 @@
33CC11242044D66E0003C045 /* Resources */ = {
isa = PBXGroup;
children = (
72E1A4052BB4D215001D0EA3 /* GoogleService-Info.plist */,
72EA35172BBE903A0021295F /* GoogleService-Info.plist */,
33CC10F22044A3C60003C045 /* Assets.xcassets */,
33CC10F42044A3C60003C045 /* MainMenu.xib */,
33CC10F72044A3C60003C045 /* Info.plist */,
Expand Down Expand Up @@ -191,8 +191,8 @@
33CC110E2044A8840003C045 /* Bundle Framework */,
3399D490228B24CF009A79C7 /* ShellScript */,
191D698BBDBFE30F60BCDAAA /* [CP] Embed Pods Frameworks */,
157396FB4D4106F510C16666 /* [firebase_crashlytics] Crashlytics Upload Symbols */,
04D5BCD91110D3DE82199C30 /* [CP] Copy Pods Resources */,
157396FB4D4106F510C16666 /* [firebase_crashlytics] Crashlytics Upload Symbols */,
);
buildRules = (
);
Expand Down Expand Up @@ -255,7 +255,7 @@
files = (
33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */,
33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */,
72E1A4062BB4D215001D0EA3 /* GoogleService-Info.plist in Resources */,
72EA35182BBE903A0021295F /* GoogleService-Info.plist in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -297,7 +297,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "# \"$PODS_ROOT/FirebaseCrashlytics/upload-symbols\" --flutter-project \"$PROJECT_DIR/firebase_app_id_file.json\" \n";
shellScript = "\"$PODS_ROOT/FirebaseCrashlytics/upload-symbols\" --flutter-project \"$PROJECT_DIR/firebase_app_id_file.json\" \n";
};
191D698BBDBFE30F60BCDAAA /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
Expand Down
2 changes: 2 additions & 0 deletions macos/Runner/DebugProfile.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.developer.aps-environment</key>
<string>development</string>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.cs.allow-jit</key>
Expand Down
2 changes: 2 additions & 0 deletions macos/Runner/Release.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.developer.aps-environment</key>
<string>development</string>
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.network.client</key>
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: liso
description: Liso
publish_to: "none"
version: 1.2.2+54
version: 1.2.3+55

environment:
sdk: ">=3.0.0 <4.0.0"
Expand Down

0 comments on commit ed6ac29

Please sign in to comment.