Skip to content

Commit 47828db

Browse files
Introducing 2.0
1 parent f715963 commit 47828db

File tree

73 files changed

+425
-521
lines changed

Some content is hidden

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

73 files changed

+425
-521
lines changed

.metadata

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,33 @@
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: 097d3313d8e2c7f901932d63e537c1acefb87800
7+
revision: eb6d86ee27deecba4a83536aa20f366a6044895c
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: eb6d86ee27deecba4a83536aa20f366a6044895c
17+
base_revision: eb6d86ee27deecba4a83536aa20f366a6044895c
18+
- platform: android
19+
create_revision: eb6d86ee27deecba4a83536aa20f366a6044895c
20+
base_revision: eb6d86ee27deecba4a83536aa20f366a6044895c
21+
- platform: ios
22+
create_revision: eb6d86ee27deecba4a83536aa20f366a6044895c
23+
base_revision: eb6d86ee27deecba4a83536aa20f366a6044895c
24+
25+
# User provided section
26+
27+
# List of Local paths (relative to this file) that should be
28+
# ignored by the migrate tool.
29+
#
30+
# Files that are not part of the templates will be ignored by default.
31+
unmanaged_files:
32+
- 'lib/main.dart'
33+
- 'ios/Runner.xcodeproj/project.pbxproj'

analysis_options.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ linter:
2222
# `// ignore_for_file: name_of_lint` syntax on the line or in the file
2323
# producing the lint.
2424
rules:
25-
avoid_print: false # Uncomment to disable the `avoid_print` rule
25+
# avoid_print: false # Uncomment to disable the `avoid_print` rule
2626
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
2727

2828
# Additional information about this file can be found at

android/app/build.gradle

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ apply plugin: 'com.google.gms.google-services'
3333
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
3434

3535
android {
36-
compileSdkVersion 31
36+
compileSdkVersion 33
37+
ndkVersion flutter.ndkVersion
3738

3839
compileOptions {
3940
sourceCompatibility JavaVersion.VERSION_1_8
@@ -57,9 +58,11 @@ android {
5758

5859
defaultConfig {
5960
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
60-
applicationId "com.samarpandasgupta.generation"
61+
applicationId "com.generation.messaging"
62+
// You can update the following values to match your application needs.
63+
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
6164
minSdkVersion 23
62-
targetSdkVersion 31
65+
targetSdkVersion 33
6366
versionCode flutterVersionCode.toInteger()
6467
versionName flutterVersionName
6568
}
@@ -80,6 +83,7 @@ android {
8083
storePassword keystoreProperties['storePassword']
8184
}
8285
}
86+
8387
buildTypes {
8488
release {
8589
signingConfig signingConfigs.release
@@ -93,6 +97,6 @@ flutter {
9397

9498
dependencies {
9599
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
96-
implementation platform('com.google.firebase:firebase-bom:29.2.1')
100+
implementation platform('com.google.firebase:firebase-bom:31.0.3')
97101
implementation 'com.google.firebase:firebase-analytics-ktx'
98102
}

android/app/src/debug/AndroidManifest.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.samarpandasgupta.generation">
3-
<!-- Flutter needs it to communicate with the running application
2+
package="com.generation.messaging">
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"/>

android/app/src/main/AndroidManifest.xml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
22
xmlns:tools="http://schemas.android.com/tools"
3-
package="com.samarpandasgupta.generation">
3+
package="com.generation.messaging">
44

55
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
66
<uses-permission android:name="android.permission.INTERNET" />
77
<uses-permission android:name="android.permission.RECORD_AUDIO" />
88
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
99
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
10-
<!-- <uses-permission-->
11-
<!-- android:name="android.permission.MANAGE_EXTERNAL_STORAGE"-->
12-
<!-- tools:ignore="ScopedStorage" />-->
1310
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
1411
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
1512
<uses-permission android:name="android.permission.READ_CONTACTS" />
@@ -67,15 +64,14 @@
6764
</intent>
6865
</queries>
6966

67+
7068
<application
7169
android:name="${applicationName}"
7270
android:icon="@mipmap/ic_launcher"
73-
android:label="Generation"
74-
android:launchMode="singleTask"
71+
android:label="Generation 2.0"
7572
android:usesCleartextTraffic="true"
7673
tools:targetApi="m">
7774

78-
7975
<receiver
8076
android:name="com.dexterous.flutterlocalnotifications.ScheduledNotificationBootReceiver"
8177
android:exported="true"
@@ -90,7 +86,6 @@
9086
android:name="com.dexterous.flutterlocalnotifications.ScheduledNotificationReceiver"
9187
tools:ignore="MissingClass" />
9288

93-
9489
<activity
9590
android:name=".MainActivity"
9691
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
@@ -99,7 +94,6 @@
9994
android:launchMode="singleTop"
10095
android:theme="@style/LaunchTheme"
10196
android:windowSoftInputMode="adjustResize"
102-
tools:ignore="Instantiatable"
10397
tools:targetApi="honeycomb">
10498
<!-- Specifies an Android theme to apply to this Activity as soon as
10599
the Android process has started. This theme is visible to the user
@@ -108,13 +102,11 @@
108102
<meta-data
109103
android:name="io.flutter.embedding.android.NormalTheme"
110104
android:resource="@style/NormalTheme" />
111-
112105
<intent-filter>
113106
<action android:name="android.intent.action.MAIN" />
114107
<category android:name="android.intent.category.LAUNCHER" />
115108
</intent-filter>
116109

117-
118110
<intent-filter>
119111
<action android:name="android.intent.action.VIEW" />
120112

@@ -176,7 +168,6 @@
176168
<category android:name="android.intent.category.DEFAULT" />
177169
</intent-filter>
178170

179-
180171
</activity>
181172
<!-- Don't delete the meta-data below.
182173
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
@@ -194,6 +185,5 @@
194185
<meta-data
195186
android:name="firebase_analytics_collection_enabled"
196187
android:value="false" />
197-
198188
</application>
199-
</manifest>
189+
</manifest>
-331 KB
Binary file not shown.

android/app/src/main/kotlin/com/samarpandasgupta/generation/MainActivity.kt renamed to android/app/src/main/kotlin/com/generation/messaging/MainActivity.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.samarpandasgupta.generation
1+
package com.generation.messaging
22

33
import android.app.NotificationManager
44
import android.content.Context
@@ -23,7 +23,7 @@ import java.time.LocalDateTime
2323

2424
class MainActivity : FlutterActivity() {
2525

26-
private val CHANNEL = "com.samarpandasgupta.generation/nativeCallBack"
26+
private val CHANNEL = "com.generation.messaging/nativeCallBack"
2727

2828
companion object{
2929
val TAG: String = MainActivity::class.java.simpleName
-25.2 KB
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3+
<background android:drawable="@mipmap/ic_launcher_adaptive_back"/>
4+
<foreground android:drawable="@mipmap/ic_launcher_adaptive_fore"/>
5+
</adaptive-icon>
1.07 KB

0 commit comments

Comments
 (0)