Skip to content

Commit a695bfc

Browse files
Update provider_shopper (#1445)
1 parent a5583b2 commit a695bfc

File tree

41 files changed

+254
-180
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+254
-180
lines changed

provider_shopper/.gitignore

Lines changed: 15 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -8,65 +8,37 @@
88
.buildlog/
99
.history
1010
.svn/
11+
migrate_working_dir/
1112

1213
# IntelliJ related
1314
*.iml
1415
*.ipr
1516
*.iws
1617
.idea/
1718

18-
# Visual Studio Code related
19-
.vscode/
19+
# The .vscode folder contains launch configuration and tasks you configure in
20+
# VS Code which you may wish to be included in version control, so this line
21+
# is commented out by default.
22+
#.vscode/
2023

2124
# Flutter/Dart/Pub related
2225
**/doc/api/
26+
**/ios/Flutter/.last_build_id
2327
.dart_tool/
2428
.flutter-plugins
29+
.flutter-plugins-dependencies
2530
.packages
2631
.pub-cache/
2732
.pub/
2833
/build/
2934

30-
# Android related
31-
**/android/**/gradle-wrapper.jar
32-
**/android/.gradle
33-
**/android/captures/
34-
**/android/gradlew
35-
**/android/gradlew.bat
36-
**/android/local.properties
37-
**/android/**/GeneratedPluginRegistrant.java
35+
# Symbolication related
36+
app.*.symbols
3837

39-
# iOS/XCode related
40-
**/ios/**/*.mode1v3
41-
**/ios/**/*.mode2v3
42-
**/ios/**/*.moved-aside
43-
**/ios/**/*.pbxuser
44-
**/ios/**/*.perspectivev3
45-
**/ios/**/*sync/
46-
**/ios/**/.sconsign.dblite
47-
**/ios/**/.tags*
48-
**/ios/**/.vagrant/
49-
**/ios/**/DerivedData/
50-
**/ios/**/Icon?
51-
**/ios/**/Pods/
52-
**/ios/**/.symlinks/
53-
**/ios/**/profile
54-
**/ios/**/xcuserdata
55-
**/ios/.generated/
56-
**/ios/Flutter/App.framework
57-
**/ios/Flutter/Flutter.framework
58-
**/ios/Flutter/Flutter.podspec
59-
**/ios/Flutter/Generated.xcconfig
60-
**/ios/Flutter/app.flx
61-
**/ios/Flutter/app.zip
62-
**/ios/Flutter/flutter_assets/
63-
**/ios/Flutter/flutter_export_environment.sh
64-
**/ios/ServiceDefinitions.json
65-
**/ios/Runner/GeneratedPluginRegistrant.*
38+
# Obfuscation related
39+
app.*.map.json
6640

67-
# Exceptions to above rules.
68-
!**/ios/**/default.mode1v3
69-
!**/ios/**/default.mode2v3
70-
!**/ios/**/default.pbxuser
71-
!**/ios/**/default.perspectivev3
72-
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
41+
# Android Studio will place build artifacts here
42+
/android/app/debug
43+
/android/app/profile
44+
/android/app/release

provider_shopper/.metadata

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,45 @@
11
# This file tracks properties of this Flutter project.
22
# Used by Flutter tool to assess capabilities and perform upgrades etc.
33
#
4-
# This file should be version controlled and should not be manually edited.
4+
# This file should be version controlled.
55

66
version:
7-
revision: 78910062997c3a836feee883712c241a5fd22983
7+
revision: e3c29ec00c9c825c891d75054c63fcc46454dca1
88
channel: stable
99

1010
project_type: app
11+
12+
# Tracks metadata for the flutter migrate command
13+
migration:
14+
platforms:
15+
- platform: root
16+
create_revision: e3c29ec00c9c825c891d75054c63fcc46454dca1
17+
base_revision: e3c29ec00c9c825c891d75054c63fcc46454dca1
18+
- platform: android
19+
create_revision: e3c29ec00c9c825c891d75054c63fcc46454dca1
20+
base_revision: e3c29ec00c9c825c891d75054c63fcc46454dca1
21+
- platform: ios
22+
create_revision: e3c29ec00c9c825c891d75054c63fcc46454dca1
23+
base_revision: e3c29ec00c9c825c891d75054c63fcc46454dca1
24+
- platform: linux
25+
create_revision: e3c29ec00c9c825c891d75054c63fcc46454dca1
26+
base_revision: e3c29ec00c9c825c891d75054c63fcc46454dca1
27+
- platform: macos
28+
create_revision: e3c29ec00c9c825c891d75054c63fcc46454dca1
29+
base_revision: e3c29ec00c9c825c891d75054c63fcc46454dca1
30+
- platform: web
31+
create_revision: e3c29ec00c9c825c891d75054c63fcc46454dca1
32+
base_revision: e3c29ec00c9c825c891d75054c63fcc46454dca1
33+
- platform: windows
34+
create_revision: e3c29ec00c9c825c891d75054c63fcc46454dca1
35+
base_revision: e3c29ec00c9c825c891d75054c63fcc46454dca1
36+
37+
# User provided section
38+
39+
# List of Local paths (relative to this file) that should be
40+
# ignored by the migrate tool.
41+
#
42+
# Files that are not part of the templates will be ignored by default.
43+
unmanaged_files:
44+
- 'lib/main.dart'
45+
- 'ios/Runner.xcodeproj/project.pbxproj'

provider_shopper/android/app/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
2727

2828
android {
2929
compileSdkVersion flutter.compileSdkVersion
30+
ndkVersion flutter.ndkVersion
3031

3132
compileOptions {
3233
sourceCompatibility JavaVersion.VERSION_1_8
@@ -44,6 +45,8 @@ android {
4445
defaultConfig {
4546
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
4647
applicationId "dev.flutter.provider_shopper"
48+
// You can update the following values to match your application needs.
49+
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
4750
minSdkVersion flutter.minSdkVersion
4851
targetSdkVersion flutter.targetSdkVersion
4952
versionCode flutterVersionCode.toInteger()

provider_shopper/android/app/src/debug/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
22
package="dev.flutter.provider_shopper">
3-
<!-- Flutter needs it to communicate with the running application
3+
<!-- The INTERNET permission is required for development. Specifically,
4+
the Flutter tool needs it to communicate with the running application
45
to allow setting breakpoints, to provide hot reload, etc.
56
-->
67
<uses-permission android:name="android.permission.INTERNET"/>

provider_shopper/android/app/src/main/res/values-night/styles.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is on -->
44
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
55
<!-- Show a splash screen on the activity. Automatically removed when
6-
Flutter draws its first frame -->
6+
the Flutter engine draws its first frame -->
77
<item name="android:windowBackground">@drawable/launch_background</item>
88
</style>
99
<!-- Theme applied to the Android Window as soon as the process has started.

provider_shopper/android/app/src/main/res/values/styles.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off -->
44
<style name="LaunchTheme" parent="@android:style/Theme.Light.NoTitleBar">
55
<!-- Show a splash screen on the activity. Automatically removed when
6-
Flutter draws its first frame -->
6+
the Flutter engine draws its first frame -->
77
<item name="android:windowBackground">@drawable/launch_background</item>
88
</style>
99
<!-- Theme applied to the Android Window as soon as the process has started.

provider_shopper/android/app/src/profile/AndroidManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
22
package="dev.flutter.provider_shopper">
3-
<!-- Flutter needs it to communicate with the running application
3+
<!-- The INTERNET permission is required for development. Specifically,
4+
the Flutter tool needs it to communicate with the running application
45
to allow setting breakpoints, to provide hot reload, etc.
56
-->
67
<uses-permission android:name="android.permission.INTERNET"/>

provider_shopper/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ buildscript {
66
}
77

88
dependencies {
9-
classpath 'com.android.tools.build:gradle:4.1.0'
9+
classpath 'com.android.tools.build:gradle:7.1.2'
1010
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1111
}
1212
}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
#Fri Jun 23 08:50:38 CEST 2017
21
distributionBase=GRADLE_USER_HOME
32
distributionPath=wrapper/dists
43
zipStoreBase=GRADLE_USER_HOME
54
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Run with tooling from https://github.com/flutter/codelabs/tree/main/tooling/codelab_rebuild
2+
name: Provider Shopper rebuild script
3+
steps:
4+
- name: Remove runners
5+
rmdirs:
6+
- android
7+
- ios
8+
- linux
9+
- macos
10+
- web
11+
- windows
12+
- name: Flutter recreate
13+
flutter: create --org dev.flutter .

0 commit comments

Comments
 (0)