Skip to content

Commit 677c9b9

Browse files
committed
*Project Upgrades.
1 parent 919c4fa commit 677c9b9

File tree

6 files changed

+23
-102
lines changed

6 files changed

+23
-102
lines changed

Diff for: android/app/build.gradle

-59
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ plugins {
44
id 'com.google.gms.google-services'
55
// END: FlutterFire Configuration
66
id "kotlin-android"
7-
<<<<<<< HEAD
87
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
98
id "dev.flutter.flutter-gradle-plugin"
109
}
@@ -29,73 +28,15 @@ android {
2928
targetSdk = flutter.targetSdkVersion
3029
versionCode = flutter.versionCode
3130
versionName = flutter.versionName
32-
=======
33-
id "dev.flutter.flutter-gradle-plugin"
34-
}
35-
36-
def localProperties = new Properties()
37-
def localPropertiesFile = rootProject.file('local.properties')
38-
if (localPropertiesFile.exists()) {
39-
localPropertiesFile.withReader('UTF-8') { reader ->
40-
localProperties.load(reader)
41-
}
42-
}
43-
44-
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
45-
if (flutterVersionCode == null) {
46-
flutterVersionCode = '1'
47-
}
48-
49-
def flutterVersionName = localProperties.getProperty('flutter.versionName')
50-
if (flutterVersionName == null) {
51-
flutterVersionName = '1.0'
52-
}
53-
54-
android {
55-
namespace "com.harshRajpurohit.we_chat"
56-
compileSdk 34
57-
ndkVersion flutter.ndkVersion
58-
59-
compileOptions {
60-
sourceCompatibility JavaVersion.VERSION_1_8
61-
targetCompatibility JavaVersion.VERSION_1_8
62-
}
63-
64-
kotlinOptions {
65-
jvmTarget = '1.8'
66-
}
67-
68-
sourceSets {
69-
main.java.srcDirs += 'src/main/kotlin'
70-
}
71-
72-
defaultConfig {
73-
applicationId "com.harshRajpurohit.we_chat"
74-
minSdkVersion 23
75-
targetSdkVersion flutter.targetSdkVersion
76-
versionCode flutterVersionCode.toInteger()
77-
versionName flutterVersionName
78-
>>>>>>> 806dca544752c5c978f39977aeb4005785d5f0ee
7931
}
8032

8133
buildTypes {
8234
release {
83-
<<<<<<< HEAD
8435
signingConfig = signingConfigs.debug
85-
=======
86-
signingConfig signingConfigs.debug
87-
>>>>>>> 806dca544752c5c978f39977aeb4005785d5f0ee
8836
}
8937
}
9038
}
9139

9240
flutter {
93-
<<<<<<< HEAD
9441
source = "../.."
9542
}
96-
=======
97-
source '../..'
98-
}
99-
100-
dependencies {}
101-
>>>>>>> 806dca544752c5c978f39977aeb4005785d5f0ee

Diff for: android/app/google-services.json

-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
},
1515
"oauth_client": [
1616
{
17-
<<<<<<< HEAD
1817
"client_id": "288842837392-gse3j6u9fferoav9leh2ik3468asfeup.apps.googleusercontent.com",
1918
"client_type": 1,
2019
"android_info": {
@@ -23,8 +22,6 @@
2322
}
2423
},
2524
{
26-
=======
27-
>>>>>>> 806dca544752c5c978f39977aeb4005785d5f0ee
2825
"client_id": "288842837392-gvt1l790g0t1fmnurc5pmko3oss8b1tq.apps.googleusercontent.com",
2926
"client_type": 1,
3027
"android_info": {

Diff for: android/app/src/main/AndroidManifest.xml

-27
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
2-
<<<<<<< HEAD
32

43
<!-- internet permission -->
54
<uses-permission android:name="android.permission.INTERNET" />
65

7-
=======
8-
9-
<!-- internet permission -->
10-
<uses-permission android:name="android.permission.INTERNET" />
11-
12-
13-
>>>>>>> 806dca544752c5c978f39977aeb4005785d5f0ee
146
<application
157
android:label="Apna Chat"
168
android:name="${applicationName}"
@@ -19,46 +11,27 @@
1911
android:name=".MainActivity"
2012
android:exported="true"
2113
android:launchMode="singleTop"
22-
<<<<<<< HEAD
2314
android:taskAffinity=""
24-
=======
25-
>>>>>>> 806dca544752c5c978f39977aeb4005785d5f0ee
2615
android:theme="@style/LaunchTheme"
2716
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
2817
android:hardwareAccelerated="true"
2918
android:windowSoftInputMode="adjustResize">
3019

31-
<<<<<<< HEAD
32-
=======
33-
34-
>>>>>>> 806dca544752c5c978f39977aeb4005785d5f0ee
3520
<meta-data
3621
android:name="io.flutter.embedding.android.NormalTheme"
3722
android:resource="@style/NormalTheme"
3823
/>
39-
<<<<<<< HEAD
40-
=======
41-
42-
>>>>>>> 806dca544752c5c978f39977aeb4005785d5f0ee
4324
<intent-filter>
4425
<action android:name="android.intent.action.MAIN"/>
4526
<category android:name="android.intent.category.LAUNCHER"/>
4627
</intent-filter>
4728
</activity>
48-
<<<<<<< HEAD
4929

50-
=======
51-
52-
>>>>>>> 806dca544752c5c978f39977aeb4005785d5f0ee
5330
<meta-data
5431
android:name="flutterEmbedding"
5532
android:value="2" />
5633
</application>
57-
<<<<<<< HEAD
5834

59-
=======
60-
61-
>>>>>>> 806dca544752c5c978f39977aeb4005785d5f0ee
6235
<queries>
6336
<intent>
6437
<action android:name="android.intent.action.PROCESS_TEXT"/>

Diff for: android/build.gradle

-8
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,12 @@ allprojects {
55
}
66
}
77

8-
<<<<<<< HEAD
98
rootProject.buildDir = "../build"
10-
=======
11-
rootProject.buildDir = '../build'
12-
>>>>>>> 806dca544752c5c978f39977aeb4005785d5f0ee
139
subprojects {
1410
project.buildDir = "${rootProject.buildDir}/${project.name}"
1511
}
1612
subprojects {
17-
<<<<<<< HEAD
1813
project.evaluationDependsOn(":app")
19-
=======
20-
project.evaluationDependsOn(':app')
21-
>>>>>>> 806dca544752c5c978f39977aeb4005785d5f0ee
2214
}
2315

2416
tasks.register("clean", Delete) {

Diff for: firebase.json

+23-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,23 @@
1-
{"flutter":{"platforms":{"android":{"default":{"projectId":"we-chat-75f13","appId":"1:288842837392:android:1353619813061d867a5715","fileOutput":"android/app/google-services.json"}},"dart":{"lib/firebase_options.dart":{"projectId":"we-chat-75f13","configurations":{"android":"1:288842837392:android:1353619813061d867a5715","ios":"1:288842837392:ios:f39c8dc31525a6687a5715","web":"1:288842837392:web:6ae5bafc6d7d4f407a5715"}}}}}}
1+
{
2+
"flutter": {
3+
"platforms": {
4+
"android": {
5+
"default": {
6+
"projectId": "we-chat-75f13",
7+
"appId": "1:288842837392:android:1353619813061d867a5715",
8+
"fileOutput": "android/app/google-services.json"
9+
}
10+
},
11+
"dart": {
12+
"lib/firebase_options.dart": {
13+
"projectId": "we-chat-75f13",
14+
"configurations": {
15+
"android": "1:288842837392:android:1353619813061d867a5715",
16+
"ios": "1:288842837392:ios:f39c8dc31525a6687a5715",
17+
"web": "1:288842837392:web:6ae5bafc6d7d4f407a5715"
18+
}
19+
}
20+
}
21+
}
22+
}
23+
}

Diff for: ios/Runner/Info.plist

-4
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@
1313
<key>CFBundleInfoDictionaryVersion</key>
1414
<string>6.0</string>
1515
<key>CFBundleName</key>
16-
<<<<<<< HEAD
1716
<string>Apna Chat</string>
18-
=======
19-
<string>we_chat</string>
20-
>>>>>>> 806dca544752c5c978f39977aeb4005785d5f0ee
2117
<key>CFBundlePackageType</key>
2218
<string>APPL</string>
2319
<key>CFBundleShortVersionString</key>

0 commit comments

Comments
 (0)