kasy-cli 1.10.0 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/kasy.js +25 -4
- package/lib/commands/check.js +40 -50
- package/lib/commands/deploy.js +25 -25
- package/lib/commands/splash.js +220 -0
- package/lib/scaffold/CHANGELOG.json +9 -0
- package/lib/scaffold/backends/api/patch/lib/main.dart +29 -10
- package/lib/scaffold/backends/supabase/patch/lib/main.dart +29 -10
- package/lib/scaffold/features/README.md +15 -139
- package/lib/scaffold/shared/generator-utils.js +16 -15
- package/lib/utils/i18n.js +292 -43
- package/package.json +2 -2
- package/templates/firebase/android/app/src/main/res/drawable-hdpi/android12splash.png +0 -0
- package/templates/firebase/android/app/src/main/res/drawable-hdpi/splash.png +0 -0
- package/templates/firebase/android/app/src/main/res/drawable-mdpi/android12splash.png +0 -0
- package/templates/firebase/android/app/src/main/res/drawable-mdpi/splash.png +0 -0
- package/templates/firebase/android/app/src/main/res/drawable-night/background.png +0 -0
- package/templates/firebase/android/app/src/main/res/drawable-night/launch_background.xml +9 -0
- package/templates/firebase/android/app/src/main/res/drawable-night-hdpi/android12splash.png +0 -0
- package/templates/firebase/android/app/src/main/res/drawable-night-hdpi/splash.png +0 -0
- package/templates/firebase/android/app/src/main/res/drawable-night-mdpi/android12splash.png +0 -0
- package/templates/firebase/android/app/src/main/res/drawable-night-mdpi/splash.png +0 -0
- package/templates/firebase/android/app/src/main/res/drawable-night-v21/background.png +0 -0
- package/templates/firebase/android/app/src/main/res/drawable-night-v21/launch_background.xml +9 -0
- package/templates/firebase/android/app/src/main/res/drawable-night-xhdpi/android12splash.png +0 -0
- package/templates/firebase/android/app/src/main/res/drawable-night-xhdpi/splash.png +0 -0
- package/templates/firebase/android/app/src/main/res/drawable-night-xxhdpi/android12splash.png +0 -0
- package/templates/firebase/android/app/src/main/res/drawable-night-xxhdpi/splash.png +0 -0
- package/templates/firebase/android/app/src/main/res/drawable-night-xxxhdpi/android12splash.png +0 -0
- package/templates/firebase/android/app/src/main/res/drawable-night-xxxhdpi/splash.png +0 -0
- package/templates/firebase/android/app/src/main/res/drawable-xhdpi/android12splash.png +0 -0
- package/templates/firebase/android/app/src/main/res/drawable-xhdpi/splash.png +0 -0
- package/templates/firebase/android/app/src/main/res/drawable-xxhdpi/android12splash.png +0 -0
- package/templates/firebase/android/app/src/main/res/drawable-xxhdpi/splash.png +0 -0
- package/templates/firebase/android/app/src/main/res/drawable-xxxhdpi/android12splash.png +0 -0
- package/templates/firebase/android/app/src/main/res/drawable-xxxhdpi/splash.png +0 -0
- package/templates/firebase/android/app/src/main/res/values-night-v31/styles.xml +2 -1
- package/templates/firebase/android/app/src/main/res/values-v31/styles.xml +1 -0
- package/templates/firebase/assets/images/splash_logo_dark.png +0 -0
- package/templates/firebase/assets/images/splash_logo_light.png +0 -0
- package/templates/firebase/ios/Runner/Assets.xcassets/LaunchBackground.imageset/Contents.json +9 -8
- package/templates/firebase/ios/Runner/Assets.xcassets/LaunchBackground.imageset/darkbackground.png +0 -0
- package/templates/firebase/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json +33 -0
- package/templates/firebase/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png +0 -0
- package/templates/firebase/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png +0 -0
- package/templates/firebase/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png +0 -0
- package/templates/firebase/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImageDark.png +0 -0
- package/templates/firebase/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImageDark@2x.png +0 -0
- package/templates/firebase/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImageDark@3x.png +0 -0
- package/templates/firebase/ios/Runner/Base.lproj/LaunchScreen.storyboard +1 -1
- package/templates/firebase/lib/core/initializer/onstart_widget.dart +7 -1
- package/templates/firebase/lib/core/theme/providers/theme_provider.dart +48 -24
- package/templates/firebase/lib/features/onboarding/ui/components/onboarding_features.dart +4 -0
- package/templates/firebase/lib/features/onboarding/ui/onboarding_page.dart +1 -0
- package/templates/firebase/lib/features/onboarding/ui/widgets/onboarding_feature.dart +13 -0
- package/templates/firebase/lib/features/settings/settings_page.dart +158 -18
- package/templates/firebase/lib/i18n/en.i18n.json +6 -2
- package/templates/firebase/lib/i18n/es.i18n.json +6 -2
- package/templates/firebase/lib/i18n/pt.i18n.json +6 -2
- package/templates/firebase/lib/main.dart +29 -10
- package/templates/firebase/pubspec.yaml +4 -5
- package/templates/firebase/test/core/data/repositories/user_repository_test.dart +1 -1
- package/templates/firebase/web/index.html +47 -39
- package/templates/firebase/web/splash/img/dark-1x.png +0 -0
- package/templates/firebase/web/splash/img/dark-2x.png +0 -0
- package/templates/firebase/web/splash/img/dark-3x.png +0 -0
- package/templates/firebase/web/splash/img/dark-4x.png +0 -0
- package/templates/firebase/web/splash/img/light-1x.png +0 -0
- package/templates/firebase/web/splash/img/light-2x.png +0 -0
- package/templates/firebase/web/splash/img/light-3x.png +0 -0
- package/templates/firebase/web/splash/img/light-4x.png +0 -0
- package/lib/scaffold/features/analytics/lib/core/data/api/analytics_api.dart +0 -124
- package/lib/scaffold/features/ci/.github/ISSUE_TEMPLATE/BUG.es.md +0 -35
- package/lib/scaffold/features/ci/.github/ISSUE_TEMPLATE/BUG.md +0 -35
- package/lib/scaffold/features/ci/.github/ISSUE_TEMPLATE/BUG.pt.md +0 -35
- package/lib/scaffold/features/ci/.github/ISSUE_TEMPLATE/feature_request.es.md +0 -12
- package/lib/scaffold/features/ci/.github/ISSUE_TEMPLATE/feature_request.md +0 -12
- package/lib/scaffold/features/ci/.github/ISSUE_TEMPLATE/feature_request.pt.md +0 -12
- package/lib/scaffold/features/ci/.github/PULL_REQUEST_TEMPLATE.es.md +0 -17
- package/lib/scaffold/features/ci/.github/PULL_REQUEST_TEMPLATE.md +0 -17
- package/lib/scaffold/features/ci/.github/PULL_REQUEST_TEMPLATE.pt.md +0 -17
- package/lib/scaffold/features/ci/.github/dependabot.yml +0 -16
- package/lib/scaffold/features/ci/.github/workflows/app.yml +0 -20
- package/lib/scaffold/features/ci/.gitlab/templates/deploy.yaml +0 -14
- package/lib/scaffold/features/ci/.gitlab/templates/dropbox.yaml +0 -19
- package/lib/scaffold/features/ci/.gitlab/templates/flutter.yaml +0 -163
- package/lib/scaffold/features/ci/.gitlab/templates/mailgun.yaml +0 -28
- package/lib/scaffold/features/ci/.gitlab-ci.yml +0 -37
- package/lib/scaffold/features/ci/codemagic.yaml +0 -157
- package/lib/scaffold/features/facebook/lib/core/data/api/tracking_api.dart +0 -111
- package/lib/scaffold/features/feedback/lib/features/feedbacks/api/entities/feature_request_entity.dart +0 -27
- package/lib/scaffold/features/feedback/lib/features/feedbacks/api/entities/feature_vote_entity.dart +0 -27
- package/lib/scaffold/features/feedback/lib/features/feedbacks/api/feature_request_api.dart +0 -50
- package/lib/scaffold/features/feedback/lib/features/feedbacks/api/feature_vote_api.dart +0 -79
- package/lib/scaffold/features/feedback/lib/features/feedbacks/models/feature_requests.dart +0 -48
- package/lib/scaffold/features/feedback/lib/features/feedbacks/models/feedback_state.dart +0 -42
- package/lib/scaffold/features/feedback/lib/features/feedbacks/providers/feedback_page_notifier.dart +0 -147
- package/lib/scaffold/features/feedback/lib/features/feedbacks/repositories/feature_request_repository.dart +0 -95
- package/lib/scaffold/features/feedback/lib/features/feedbacks/ui/component/add_feature_form.dart +0 -199
- package/lib/scaffold/features/feedback/lib/features/feedbacks/ui/feedback_page.dart +0 -175
- package/lib/scaffold/features/feedback/lib/features/feedbacks/ui/widgets/add_feature_button.dart +0 -76
- package/lib/scaffold/features/feedback/lib/features/feedbacks/ui/widgets/feature_card.dart +0 -279
- package/lib/scaffold/features/ios-release/.kasy/apple.env.example +0 -8
- package/lib/scaffold/features/ios-release/.kasy/codemagic.env.example +0 -7
- package/lib/scaffold/features/ios-release/docs/codemagic-release.en.md +0 -50
- package/lib/scaffold/features/ios-release/docs/codemagic-release.es.md +0 -50
- package/lib/scaffold/features/ios-release/docs/codemagic-release.pt.md +0 -50
- package/lib/scaffold/features/ios-release/docs/ios-release.en.md +0 -41
- package/lib/scaffold/features/ios-release/docs/ios-release.es.md +0 -41
- package/lib/scaffold/features/ios-release/docs/ios-release.pt.md +0 -41
- package/lib/scaffold/features/ios-release/scripts/bump-ios-version.js +0 -38
- package/lib/scaffold/features/ios-release/scripts/release-ios.sh +0 -137
- package/lib/scaffold/features/llm_chat/lib/features/llm_chat/llm_chat_page.dart +0 -301
- package/lib/scaffold/features/local_notifications/lib/features/local_reminder/providers/reminder_notifier.dart +0 -81
- package/lib/scaffold/features/local_notifications/lib/features/local_reminder/repositories/reminder_preferences.dart +0 -76
- package/lib/scaffold/features/local_notifications/lib/features/local_reminder/ui/reminder_page.dart +0 -282
- package/lib/scaffold/features/onboarding/lib/features/onboarding/api/entities/user_info_entity.dart +0 -24
- package/lib/scaffold/features/onboarding/lib/features/onboarding/api/user_infos_api.dart +0 -71
- package/lib/scaffold/features/onboarding/lib/features/onboarding/models/user_info.dart +0 -92
- package/lib/scaffold/features/onboarding/lib/features/onboarding/providers/onboarding_model.dart +0 -15
- package/lib/scaffold/features/onboarding/lib/features/onboarding/providers/onboarding_provider.dart +0 -78
- package/lib/scaffold/features/onboarding/lib/features/onboarding/repositories/user_infos_repository.dart +0 -29
- package/lib/scaffold/features/onboarding/lib/features/onboarding/ui/animations/page_transitions.dart +0 -30
- package/lib/scaffold/features/onboarding/lib/features/onboarding/ui/components/onboarding_att_setup.dart +0 -66
- package/lib/scaffold/features/onboarding/lib/features/onboarding/ui/components/onboarding_features.dart +0 -72
- package/lib/scaffold/features/onboarding/lib/features/onboarding/ui/components/onboarding_loader.dart +0 -92
- package/lib/scaffold/features/onboarding/lib/features/onboarding/ui/components/onboarding_notifications_setup.dart +0 -73
- package/lib/scaffold/features/onboarding/lib/features/onboarding/ui/components/onboarding_questions.dart +0 -89
- package/lib/scaffold/features/onboarding/lib/features/onboarding/ui/onboarding_page.dart +0 -94
- package/lib/scaffold/features/onboarding/lib/features/onboarding/ui/widgets/onboarding_background.dart +0 -80
- package/lib/scaffold/features/onboarding/lib/features/onboarding/ui/widgets/onboarding_feature.dart +0 -139
- package/lib/scaffold/features/onboarding/lib/features/onboarding/ui/widgets/onboarding_illustration_scaffold.dart +0 -110
- package/lib/scaffold/features/onboarding/lib/features/onboarding/ui/widgets/onboarding_progress.dart +0 -84
- package/lib/scaffold/features/onboarding/lib/features/onboarding/ui/widgets/onboarding_radio_question.dart +0 -173
- package/lib/scaffold/features/onboarding/lib/features/onboarding/ui/widgets/onboarding_reassurance.dart +0 -45
- package/lib/scaffold/features/onboarding/lib/features/onboarding/ui/widgets/onboarding_sticky_footer.dart +0 -77
- package/lib/scaffold/features/onboarding/lib/features/onboarding/ui/widgets/selectable_row_tile.dart +0 -392
- package/lib/scaffold/features/revenuecat/lib/core/data/api/tracking_api.dart +0 -116
- package/lib/scaffold/features/revenuecat/lib/core/data/models/subscription.dart +0 -322
- package/lib/scaffold/features/revenuecat/lib/core/home_widgets/home_widget_background_task.dart +0 -41
- package/lib/scaffold/features/revenuecat/lib/core/states/user_state_notifier.dart +0 -305
- package/templates/firebase/assets/images/splashscreen.png +0 -0
|
@@ -29,73 +29,80 @@
|
|
|
29
29
|
|
|
30
30
|
<title>kasy</title>
|
|
31
31
|
<link rel="manifest" href="manifest.json">
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
|
|
32
35
|
<style id="splash-screen-style">
|
|
33
36
|
html {
|
|
34
|
-
height: 100
|
|
37
|
+
height: 100%
|
|
35
38
|
}
|
|
36
39
|
|
|
37
40
|
body {
|
|
38
41
|
margin: 0;
|
|
39
42
|
min-height: 100%;
|
|
40
43
|
background-color: #FFFFFF;
|
|
44
|
+
background-size: 100% 100%;
|
|
41
45
|
}
|
|
42
46
|
|
|
43
|
-
|
|
44
|
-
|
|
47
|
+
.center {
|
|
48
|
+
margin: 0;
|
|
49
|
+
position: absolute;
|
|
50
|
+
top: 50%;
|
|
51
|
+
left: 50%;
|
|
52
|
+
-ms-transform: translate(-50%, -50%);
|
|
53
|
+
transform: translate(-50%, -50%);
|
|
45
54
|
}
|
|
46
55
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
align-items: center;
|
|
52
|
-
justify-content: center;
|
|
53
|
-
background-color: #FFFFFF;
|
|
54
|
-
transition: opacity 0.35s ease;
|
|
55
|
-
z-index: 9999;
|
|
56
|
+
.contain {
|
|
57
|
+
display:block;
|
|
58
|
+
width:100%; height:100%;
|
|
59
|
+
object-fit: contain;
|
|
56
60
|
}
|
|
57
61
|
|
|
58
|
-
|
|
59
|
-
|
|
62
|
+
.stretch {
|
|
63
|
+
display:block;
|
|
64
|
+
width:100%; height:100%;
|
|
60
65
|
}
|
|
61
66
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
height:
|
|
65
|
-
object-fit:
|
|
67
|
+
.cover {
|
|
68
|
+
display:block;
|
|
69
|
+
width:100%; height:100%;
|
|
70
|
+
object-fit: cover;
|
|
66
71
|
}
|
|
67
72
|
|
|
68
|
-
.
|
|
69
|
-
margin: 0;
|
|
73
|
+
.bottom {
|
|
70
74
|
position: absolute;
|
|
71
|
-
|
|
75
|
+
bottom: 0;
|
|
72
76
|
left: 50%;
|
|
73
|
-
-ms-transform: translate(-50%,
|
|
74
|
-
transform: translate(-50%,
|
|
77
|
+
-ms-transform: translate(-50%, 0);
|
|
78
|
+
transform: translate(-50%, 0);
|
|
75
79
|
}
|
|
76
80
|
|
|
77
|
-
.
|
|
78
|
-
|
|
79
|
-
|
|
81
|
+
.bottomLeft {
|
|
82
|
+
position: absolute;
|
|
83
|
+
bottom: 0;
|
|
84
|
+
left: 0;
|
|
85
|
+
}
|
|
80
86
|
|
|
81
|
-
.
|
|
82
|
-
|
|
83
|
-
|
|
87
|
+
.bottomRight {
|
|
88
|
+
position: absolute;
|
|
89
|
+
bottom: 0;
|
|
90
|
+
right: 0;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
@media (prefers-color-scheme: dark) {
|
|
94
|
+
body {
|
|
95
|
+
background-color: #000000;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
84
98
|
</style>
|
|
85
99
|
<script id="splash-screen-script">
|
|
86
100
|
function removeSplashFromWeb() {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
setTimeout(function() {
|
|
91
|
-
splash.remove();
|
|
92
|
-
document.getElementById("splash-branding")?.remove();
|
|
93
|
-
document.body.style.background = "transparent";
|
|
94
|
-
}, 380);
|
|
95
|
-
}
|
|
101
|
+
document.getElementById("splash")?.remove();
|
|
102
|
+
document.getElementById("splash-branding")?.remove();
|
|
103
|
+
document.body.style.background = "transparent";
|
|
96
104
|
}
|
|
97
105
|
</script>
|
|
98
|
-
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
|
|
99
106
|
</head>
|
|
100
107
|
<body>
|
|
101
108
|
<picture id="splash">
|
|
@@ -103,6 +110,7 @@
|
|
|
103
110
|
<source srcset="splash/img/dark-1x.png 1x, splash/img/dark-2x.png 2x, splash/img/dark-3x.png 3x, splash/img/dark-4x.png 4x" media="(prefers-color-scheme: dark)">
|
|
104
111
|
<img class="center" aria-hidden="true" src="splash/img/light-1x.png" alt="">
|
|
105
112
|
</picture>
|
|
113
|
+
|
|
106
114
|
<script src="flutter_bootstrap.js" async=""></script>
|
|
107
115
|
<script src="./local_notifications.js"></script>
|
|
108
116
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
import 'package:flutter/material.dart';
|
|
2
|
-
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
|
3
|
-
import 'package:mixpanel_flutter/mixpanel_flutter.dart';
|
|
4
|
-
import 'package:kasy_kit/core/data/models/user.dart';
|
|
5
|
-
import 'package:kasy_kit/core/initializer/onstart_service.dart';
|
|
6
|
-
import 'package:kasy_kit/environnements.dart';
|
|
7
|
-
|
|
8
|
-
final analyticsApiProvider = Provider<AnalyticsApi>(
|
|
9
|
-
(ref) => MixpanelAnalyticsApi.instance(),
|
|
10
|
-
|
|
11
|
-
);
|
|
12
|
-
|
|
13
|
-
abstract class AnalyticsApi implements OnStartService {
|
|
14
|
-
/// Log an event to your analytics platform
|
|
15
|
-
Future<void> logEvent(String name, Map<String, dynamic> params);
|
|
16
|
-
|
|
17
|
-
/// Log a signout event to your analytics platform
|
|
18
|
-
Future<void> logSignout();
|
|
19
|
-
|
|
20
|
-
/// Identify a user to your analytics platform
|
|
21
|
-
Future<void> identify(User user);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
class MixpanelAnalyticsApi implements AnalyticsApi {
|
|
26
|
-
final Environment environment;
|
|
27
|
-
Mixpanel? mixpanel;
|
|
28
|
-
MixpanelAnalyticsApi._({
|
|
29
|
-
required this.environment,
|
|
30
|
-
});
|
|
31
|
-
|
|
32
|
-
static MixpanelAnalyticsApi? _instance;
|
|
33
|
-
|
|
34
|
-
factory MixpanelAnalyticsApi.instance() {
|
|
35
|
-
return _instance ??= MixpanelAnalyticsApi._(
|
|
36
|
-
environment: Environment.fromEnv(),
|
|
37
|
-
);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
@override
|
|
41
|
-
Future<void> init() async {
|
|
42
|
-
if (environment.mixpanelToken == null ||
|
|
43
|
-
environment.mixpanelToken!.isEmpty) {
|
|
44
|
-
return;
|
|
45
|
-
}
|
|
46
|
-
try {
|
|
47
|
-
mixpanel = await Mixpanel.init(
|
|
48
|
-
environment.mixpanelToken!,
|
|
49
|
-
trackAutomaticEvents: true,
|
|
50
|
-
);
|
|
51
|
-
} catch (e, s) {
|
|
52
|
-
debugPrint('Error initializing Mixpanel: $e\n$s');
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
@override
|
|
57
|
-
Future<void> logEvent(String name, Map<String, dynamic> params) async {
|
|
58
|
-
mixpanel?.track(name, properties: params);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
@override
|
|
62
|
-
Future<void> logSignout() async {
|
|
63
|
-
mixpanel?.reset();
|
|
64
|
-
mixpanel?.track('logout');
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
@override
|
|
68
|
-
Future<void> identify(User user) async {
|
|
69
|
-
mixpanel?.track('login');
|
|
70
|
-
final userId = user.idOrNull;
|
|
71
|
-
if (userId != null) {
|
|
72
|
-
mixpanel?.identify(userId);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
class AnalyticsObserver extends RouteObserver<ModalRoute<dynamic>> {
|
|
81
|
-
final AnalyticsApi analyticsApi;
|
|
82
|
-
final String? prefix;
|
|
83
|
-
|
|
84
|
-
AnalyticsObserver({
|
|
85
|
-
required this.analyticsApi,
|
|
86
|
-
this.prefix,
|
|
87
|
-
});
|
|
88
|
-
|
|
89
|
-
@override
|
|
90
|
-
void didPush(Route<dynamic> route, Route<dynamic>? previousRoute) {
|
|
91
|
-
// debugPrint('didPush $prefix${route.settings.name} ');
|
|
92
|
-
if (route.settings.name != null && prefix != null) {
|
|
93
|
-
analyticsApi.logEvent('$prefix${route.settings.name}', {});
|
|
94
|
-
} else if (route.settings.name != null && prefix == null) {
|
|
95
|
-
analyticsApi.logEvent('${route.settings.name}', {});
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
@override
|
|
100
|
-
void didReplace({Route<dynamic>? newRoute, Route<dynamic>? oldRoute}) {
|
|
101
|
-
// debugPrint('didReplace ${newRoute?.settings.name}');
|
|
102
|
-
if (newRoute?.settings.name != null && prefix != null) {
|
|
103
|
-
analyticsApi.logEvent('$prefix${newRoute!.settings.name!}', {});
|
|
104
|
-
} else if (newRoute?.settings.name != null && prefix == null) {
|
|
105
|
-
analyticsApi.logEvent(newRoute!.settings.name!, {});
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
@override
|
|
110
|
-
void didPop(Route<dynamic> route, Route<dynamic>? previousRoute) {}
|
|
111
|
-
|
|
112
|
-
@override
|
|
113
|
-
void didRemove(Route<dynamic> route, Route<dynamic>? previousRoute) {}
|
|
114
|
-
|
|
115
|
-
@override
|
|
116
|
-
void didStartUserGesture(
|
|
117
|
-
Route<dynamic> route,
|
|
118
|
-
Route<dynamic>? previousRoute,
|
|
119
|
-
) {}
|
|
120
|
-
|
|
121
|
-
@override
|
|
122
|
-
void didStopUserGesture() {}
|
|
123
|
-
}
|
|
124
|
-
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: Encontré un problema.
|
|
3
|
-
about: El proyecto no compila o hace crash...
|
|
4
|
-
title: ''
|
|
5
|
-
labels: ''
|
|
6
|
-
assignees: ''
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
## Pasos para reproducir
|
|
11
|
-
|
|
12
|
-
*Describe cómo reproducir el error, proporciona un dartpad o código simple para reproducir*
|
|
13
|
-
|
|
14
|
-
## Resultados esperados
|
|
15
|
-
|
|
16
|
-
*Qué debería pasar*
|
|
17
|
-
|
|
18
|
-
## Resultados reales
|
|
19
|
-
|
|
20
|
-
*Qué ves*
|
|
21
|
-
|
|
22
|
-
## Sobre tu dispositivo
|
|
23
|
-
|
|
24
|
-
| Marca | Modelo | SO |
|
|
25
|
-
| ------- | ----------- | --------- |
|
|
26
|
-
| *Apple* | *iPhone X* | *13.6.1* |
|
|
27
|
-
|
|
28
|
-
## Tu versión de Flutter
|
|
29
|
-
|
|
30
|
-
Ejecuta en la terminal:
|
|
31
|
-
```flutter --version```
|
|
32
|
-
|
|
33
|
-
*Pega el resultado aquí*
|
|
34
|
-
|
|
35
|
-
</details>
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: I found a problem.
|
|
3
|
-
about: The project doesn't build or crash...
|
|
4
|
-
title: ''
|
|
5
|
-
labels: ''
|
|
6
|
-
assignees: ''
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
## Steps to Reproduce
|
|
11
|
-
|
|
12
|
-
*Describe how to reproduce the error, provide a dartpad or simple code to reproduce*
|
|
13
|
-
|
|
14
|
-
## Expected results
|
|
15
|
-
|
|
16
|
-
*What it should be*
|
|
17
|
-
|
|
18
|
-
## Actual results
|
|
19
|
-
|
|
20
|
-
*What you see*
|
|
21
|
-
|
|
22
|
-
## About your device
|
|
23
|
-
|
|
24
|
-
| Brand | Model | OS |
|
|
25
|
-
| ------- | ----------- | --------- |
|
|
26
|
-
| *Apple* | *iPhone X* | *13.6.1* |
|
|
27
|
-
|
|
28
|
-
## Your flutter version
|
|
29
|
-
|
|
30
|
-
Run this in your command line
|
|
31
|
-
```flutter --version```
|
|
32
|
-
|
|
33
|
-
*Paste the result here*
|
|
34
|
-
|
|
35
|
-
</details>
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: Encontrei um problema.
|
|
3
|
-
about: O projeto não compila ou dá crash...
|
|
4
|
-
title: ''
|
|
5
|
-
labels: ''
|
|
6
|
-
assignees: ''
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
## Passos para reproduzir
|
|
11
|
-
|
|
12
|
-
*Descreva como reproduzir o erro, forneça um dartpad ou código simples para reproduzir*
|
|
13
|
-
|
|
14
|
-
## Resultados esperados
|
|
15
|
-
|
|
16
|
-
*O que deveria acontecer*
|
|
17
|
-
|
|
18
|
-
## Resultados reais
|
|
19
|
-
|
|
20
|
-
*O que você vê*
|
|
21
|
-
|
|
22
|
-
## Sobre seu dispositivo
|
|
23
|
-
|
|
24
|
-
| Marca | Modelo | SO |
|
|
25
|
-
| ------- | ----------- | --------- |
|
|
26
|
-
| *Apple* | *iPhone X* | *13.6.1* |
|
|
27
|
-
|
|
28
|
-
## Sua versão do Flutter
|
|
29
|
-
|
|
30
|
-
Execute no terminal:
|
|
31
|
-
```flutter --version```
|
|
32
|
-
|
|
33
|
-
*Cole o resultado aqui*
|
|
34
|
-
|
|
35
|
-
</details>
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
## Descripción
|
|
2
|
-
|
|
3
|
-
*¿Qué cambia tu Pull Request?*
|
|
4
|
-
|
|
5
|
-
## Checklist
|
|
6
|
-
|
|
7
|
-
Antes de crear cualquier Pull Request, confirma que cumple todos los requisitos marcando las casillas relevantes (`[x]`).
|
|
8
|
-
|
|
9
|
-
- [ ] 📕 Leí la [página de Contribución](https://github.com/your-org/your-repo/blob/master/CONTRIBUTING.md).
|
|
10
|
-
- [ ] 🤝 Sigo el estilo de código actual.
|
|
11
|
-
- [ ] ✅ Ejecuté ```flutter analyze``` sin problemas.
|
|
12
|
-
|
|
13
|
-
## Breaking Change
|
|
14
|
-
|
|
15
|
-
- [ ] 🛠 Mi feature contiene breaking change.
|
|
16
|
-
|
|
17
|
-
*Si tu feature rompe algo, detállalo aquí*
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
## Description
|
|
2
|
-
|
|
3
|
-
*What your Pull Request change ?*
|
|
4
|
-
|
|
5
|
-
## Checklist
|
|
6
|
-
|
|
7
|
-
Before creating any Pull Request, confirm that it meets all requirements listed below by checking the relevant checkboxes (`[x]`).
|
|
8
|
-
|
|
9
|
-
- [ ] 📕 I read the [Contributing page](https://github.com/your-org/your-repo/blob/master/CONTRIBUTING.md).
|
|
10
|
-
- [ ] 🤝 I match the actual coding style.
|
|
11
|
-
- [ ] ✅ I ran ```flutter analyze``` without any issues.
|
|
12
|
-
|
|
13
|
-
## Breaking Change
|
|
14
|
-
|
|
15
|
-
- [ ] 🛠 My feature contain breaking change.
|
|
16
|
-
|
|
17
|
-
*If your feature break something, please detail it*
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
## Descrição
|
|
2
|
-
|
|
3
|
-
*O que sua Pull Request altera?*
|
|
4
|
-
|
|
5
|
-
## Checklist
|
|
6
|
-
|
|
7
|
-
Antes de criar qualquer Pull Request, confirme que atende a todos os requisitos abaixo marcando as caixas relevantes (`[x]`).
|
|
8
|
-
|
|
9
|
-
- [ ] 📕 Li a [página de Contribuição](https://github.com/your-org/your-repo/blob/master/CONTRIBUTING.md).
|
|
10
|
-
- [ ] 🤝 Segui o estilo de código atual.
|
|
11
|
-
- [ ] ✅ Executei ```flutter analyze``` sem problemas.
|
|
12
|
-
|
|
13
|
-
## Breaking Change
|
|
14
|
-
|
|
15
|
-
- [ ] 🛠 Minha feature contém breaking change.
|
|
16
|
-
|
|
17
|
-
*Se sua feature quebrar algo, detalhe aqui*
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
version: 2
|
|
2
|
-
updates:
|
|
3
|
-
- package-ecosystem: "pub"
|
|
4
|
-
directory: "/"
|
|
5
|
-
schedule:
|
|
6
|
-
interval: daily
|
|
7
|
-
time: "12:30"
|
|
8
|
-
timezone: Europe/Paris
|
|
9
|
-
open-pull-requests-limit: 5
|
|
10
|
-
- package-ecosystem: "gradle"
|
|
11
|
-
directory: "/android"
|
|
12
|
-
schedule:
|
|
13
|
-
interval: weekly
|
|
14
|
-
time: "12:30"
|
|
15
|
-
timezone: Europe/Paris
|
|
16
|
-
open-pull-requests-limit: 1
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
name: app
|
|
2
|
-
|
|
3
|
-
on: [push, pull_request]
|
|
4
|
-
|
|
5
|
-
jobs:
|
|
6
|
-
build:
|
|
7
|
-
name: Build and test
|
|
8
|
-
runs-on: ubuntu-latest
|
|
9
|
-
timeout-minutes: 10
|
|
10
|
-
steps:
|
|
11
|
-
- name: Checkout code
|
|
12
|
-
uses: actions/checkout@v3
|
|
13
|
-
- name: Setup Flutter
|
|
14
|
-
uses: subosito/flutter-action@v2
|
|
15
|
-
with:
|
|
16
|
-
channel: 'stable'
|
|
17
|
-
- name: Run Dart Analyzer
|
|
18
|
-
run: flutter analyze lib test --no-fatal-infos --no-fatal-warnings
|
|
19
|
-
- name: Run tests
|
|
20
|
-
run: flutter test
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
## This requires to run on a macos runner with Xcode installed and configured
|
|
2
|
-
.deploy-app-store-connect:
|
|
3
|
-
tags:
|
|
4
|
-
- macos
|
|
5
|
-
only:
|
|
6
|
-
- master
|
|
7
|
-
- main
|
|
8
|
-
variables:
|
|
9
|
-
IPA_PATH: "build/ios/ipa/*.ipa"
|
|
10
|
-
API_KEY: ""
|
|
11
|
-
API_ISSUER: ""
|
|
12
|
-
script:
|
|
13
|
-
- "echo 'Deploying app to App Store Connect'"
|
|
14
|
-
- xcrun altool --upload-app --type ios -f $IPA_PATH --apiKey $API_KEY --apiIssuer $API_ISSUER
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
.dropbox:
|
|
2
|
-
variables:
|
|
3
|
-
APP_FOLDER : ""
|
|
4
|
-
FLAVOR : ""
|
|
5
|
-
PATH_TO_BINARY: ""
|
|
6
|
-
VERSION: "latest"
|
|
7
|
-
tags:
|
|
8
|
-
- macos
|
|
9
|
-
script:
|
|
10
|
-
## install dropbox uploader on your machine using this
|
|
11
|
-
## Check https://github.com/andreafabrizi/Dropbox-Uploader for more informations
|
|
12
|
-
# curl "https://raw.githubusercontent.com/andreafabrizi/Dropbox-Uploader/master/dropbox_uploader.sh" -o dropbox_uploader.sh
|
|
13
|
-
# chmod +x dropbox_uploader.sh
|
|
14
|
-
# ./dropbox_uploader.sh -f dropbox_uploader.cfg
|
|
15
|
-
# create dropbox folder
|
|
16
|
-
- sh ~/dropbox-uploader/dropbox_uploader.sh -f ~/dropbox-uploader/dropbox_uploader.cfg mkdir "$APP_FOLDER/$VERSION/" &>/dev/null || echo "target folder exists"
|
|
17
|
-
# upload apk to dropbox
|
|
18
|
-
- sh ~/dropbox-uploader/dropbox_uploader.sh -f ~/dropbox-uploader/dropbox_uploader.cfg upload "$PATH_TO_BINARY" "$APP_FOLDER/$VERSION/"
|
|
19
|
-
allow_failure: true
|