Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
132 commits
Select commit Hold shift + click to select a range
deb7863
Fix bottom navbar for unselected taps
AhmedHanafy725 Sep 10, 2024
530f307
Merge branch 'development_cleanup' into development_cleanup_wallet
AhmedHanafy725 Sep 11, 2024
6c2be17
Update wallet model
AhmedHanafy725 Sep 12, 2024
667f673
Update wallet details
AhmedHanafy725 Sep 12, 2024
df4d450
Update tfchain service with stellar client update(fromMnemonic)
AhmedHanafy725 Sep 12, 2024
f5a9c9f
Init listing the wallets
AhmedHanafy725 Sep 12, 2024
1bf12c3
Support loading mnemonics in loading wallets
AhmedHanafy725 Sep 12, 2024
8fb99d4
Add spacing between spinner and loading message
AhmedHanafy725 Sep 12, 2024
e31a95b
Fix android build
AhmedHanafy725 Sep 17, 2024
e3e7642
Move loading wallets to wallet service
AhmedHanafy725 Sep 17, 2024
24301d3
Hide delete button for the native wallets
AhmedHanafy725 Sep 17, 2024
fa71332
Allow appbar actions on the drawer
AhmedHanafy725 Sep 17, 2024
3544fca
Use 0 instead of 0.0 for consistency
AhmedHanafy725 Sep 17, 2024
ac1f9f4
Add get balance for tfchain service
AhmedHanafy725 Sep 17, 2024
aba01ef
Init work on adding wallet UI
AhmedHanafy725 Sep 17, 2024
8fac762
Add method to add wallet to pkid
AhmedHanafy725 Sep 18, 2024
480e0a5
Add method to edit wallet name and save it to pkid
AhmedHanafy725 Sep 18, 2024
911a0a4
Add method to delete wallet from pkid
AhmedHanafy725 Sep 18, 2024
a46ce37
Move adding wallet logic to add wallet widget
AhmedHanafy725 Sep 18, 2024
f0ce3d7
Show the add icon only if the wallets are loaded
AhmedHanafy725 Sep 18, 2024
0f36b59
Check if the added wallet name exists
AhmedHanafy725 Sep 18, 2024
e38cad2
Remove unused model
AhmedHanafy725 Sep 18, 2024
77570e4
Use textField errors instead of dialog
AhmedHanafy725 Sep 18, 2024
ad90b8b
Show error dialog in case couldn't load the added wallet
AhmedHanafy725 Sep 18, 2024
e0de822
Adjust wallet loading validations
AhmedHanafy725 Sep 18, 2024
551e3f9
Init work on dao screen
AhmedHanafy725 Sep 18, 2024
3ff0e95
More adjustment for the dao colors
AhmedHanafy725 Sep 19, 2024
77a2239
Add loading for the dao screen
AhmedHanafy725 Sep 19, 2024
1e0b261
Rename dao widget
AhmedHanafy725 Sep 19, 2024
edfe517
Update show doa result to load the votes and add loading
AhmedHanafy725 Sep 19, 2024
8feadd7
Add loading for farms in dao vote dialog
AhmedHanafy725 Sep 19, 2024
781def3
Split loading wallets code
AhmedHanafy725 Sep 19, 2024
b386985
Add methods to get wallets twin ids
AhmedHanafy725 Sep 19, 2024
c694c48
pass the seed in the dao vote method
AhmedHanafy725 Sep 19, 2024
93fd2ea
Add method to get farms by multiple wallets
AhmedHanafy725 Sep 19, 2024
3bd6967
Adjust loading twins and wallets
AhmedHanafy725 Sep 19, 2024
2c0f1b1
Fix voting and use the correct wallets to apply extrinsic
AhmedHanafy725 Sep 19, 2024
05b7a89
Adjust the voting percentage
AhmedHanafy725 Sep 19, 2024
41ea766
Remove unused import
AhmedHanafy725 Sep 19, 2024
c5642e1
Add model for pkid wallet
AhmedHanafy725 Sep 19, 2024
55e537a
Use the pkid wallet model in loading wallets
AhmedHanafy725 Sep 19, 2024
be5ae24
Save added wallet to pkid
AhmedHanafy725 Sep 19, 2024
e949542
Add wallet deletion
AhmedHanafy725 Sep 21, 2024
e66b1d7
Edit wallet
AhmedHanafy725 Sep 21, 2024
2e53749
list farms
AhmedHanafy725 Sep 21, 2024
165e53d
Trim the wallet name when editing
AhmedHanafy725 Sep 21, 2024
301f75f
Add new farm widget
AhmedHanafy725 Sep 22, 2024
dc4862b
change home screen layout
AhmedHanafy725 Sep 22, 2024
b326d0c
Restructure the wallet directories
AhmedHanafy725 Sep 22, 2024
edbd9e4
Add confirmation to delete wallet
AhmedHanafy725 Sep 22, 2024
b12074d
Fix kyc for ios
AhmedHanafy725 Sep 23, 2024
bca12a6
init adding the transactions screen
AhmedHanafy725 Sep 24, 2024
c4f4972
Update gradle config
AhmedHanafy725 Sep 24, 2024
035c28a
Merge branch 'development_cleanup_kyc_ios' into development_cleanup_w…
AhmedHanafy725 Sep 24, 2024
472195b
Adjust the transaction details
AhmedHanafy725 Sep 25, 2024
9c7b5ae
decrease the divider height
AhmedHanafy725 Sep 25, 2024
760ac36
Add wallet assets page
AhmedHanafy725 Sep 25, 2024
f3544d6
Add wallet balance tile widget
AhmedHanafy725 Sep 25, 2024
a655ffe
Reload Balance when clicking on the wallet
AhmedHanafy725 Sep 25, 2024
56b8100
Add inkwell on send and receive and init the send and receive widgets
AhmedHanafy725 Sep 25, 2024
4c7105d
Change the compile version to 34
AhmedHanafy725 Sep 25, 2024
6436149
Fix pop with back button
AhmedHanafy725 Sep 26, 2024
1a1a0fb
init send screen
AhmedHanafy725 Sep 26, 2024
944b57f
Add subtitle for amount field for max fee
AhmedHanafy725 Sep 26, 2024
9731c78
Add scanning QR code
AhmedHanafy725 Sep 26, 2024
d8c0d9e
Adjust the scan QR code colors
AhmedHanafy725 Sep 26, 2024
f1323e3
Add Receive screen
AhmedHanafy725 Sep 26, 2024
312ac0b
Add qr code screen
AhmedHanafy725 Sep 26, 2024
9e4db27
WIP: Implement wizard pages
AhmedHanafy725 Sep 26, 2024
d8b873f
Use qr code generator screen in the receive screen
AhmedHanafy725 Sep 26, 2024
8751734
Add suffix TFT in the amount fields
AhmedHanafy725 Sep 26, 2024
5432bec
WIP: fix appearing of wizard pages
AlaaElattar Sep 26, 2024
cfe5f96
fix theme issue
AlaaElattar Sep 26, 2024
bb6fa36
Add Send confirmation bottom sheet
AhmedHanafy725 Sep 26, 2024
85b718e
Add loading to confirm send
AhmedHanafy725 Sep 26, 2024
f6dd028
Add transfer method to stellar
AhmedHanafy725 Sep 26, 2024
7b54b33
Add transfer method to tfchain
AhmedHanafy725 Sep 26, 2024
ffe46ec
Add transfer logic
AhmedHanafy725 Sep 26, 2024
c7295f9
Add contacts service
AhmedHanafy725 Sep 26, 2024
3c0663e
Fix pkid wallet to map
AhmedHanafy725 Sep 26, 2024
aaeafe6
Add contact model
AhmedHanafy725 Sep 26, 2024
800b166
init contact screen
AhmedHanafy725 Sep 26, 2024
7e10a31
Fix wallet types
AhmedHanafy725 Sep 26, 2024
299f44f
Add colors to the custom dialog
AhmedHanafy725 Sep 27, 2024
42548b2
Adjust the send and receive colors
AhmedHanafy725 Sep 27, 2024
6a346d1
Add TFT logo before the wallet chain on the wallet card
AhmedHanafy725 Sep 27, 2024
5cd34c5
Add contact card
AhmedHanafy725 Sep 27, 2024
d495d5c
Add tabs to the contacts screen and load other contacts from pkid
AhmedHanafy725 Sep 27, 2024
c256d6a
Add crud methods to contacts service
AhmedHanafy725 Sep 27, 2024
107ffb0
Support add contact
AhmedHanafy725 Sep 27, 2024
aa2cf3a
Adjust pkid return value in case of empty
AhmedHanafy725 Sep 27, 2024
62b4efd
Add option to view edit and delete icons on the contact card
AhmedHanafy725 Sep 27, 2024
481b0bf
Add title to bottom sheets
AhmedHanafy725 Sep 27, 2024
dc72c94
Fix home screen sizes
AhmedHanafy725 Sep 27, 2024
2003d8d
Fix farming name
AhmedHanafy725 Sep 27, 2024
d611a39
Fix showing home after screen with keyboard was active
AhmedHanafy725 Sep 28, 2024
819e23a
Add dao as app to authenticate on it
AhmedHanafy725 Sep 28, 2024
eae1cc1
Adjust the router apps
AhmedHanafy725 Sep 28, 2024
b05427a
Fix fingerprint authentication
AhmedHanafy725 Sep 28, 2024
47aeea0
Fix back button navigation on android
AhmedHanafy725 Sep 28, 2024
c1edd40
Support deleting contacts
AhmedHanafy725 Sep 28, 2024
1f881b5
Support Edit contacts
AhmedHanafy725 Sep 28, 2024
0fe6096
Fix contact addition, modification, and deletion
AhmedHanafy725 Sep 28, 2024
92197b7
remove textboxes, add padding
AlaaElattar Sep 29, 2024
f2ba3aa
remove sizedBox && add padding
AlaaElattar Sep 29, 2024
79b0123
Hide wallet if it doesn't have TFT asset
AhmedHanafy725 Sep 29, 2024
6309cfb
Add the ability to create farm from any wallet imported on the app
AhmedHanafy725 Sep 29, 2024
dbb75b9
Adjust tabs font size
AhmedHanafy725 Sep 30, 2024
c5d209a
Add error in case of inability to get proposals
AhmedHanafy725 Sep 30, 2024
186bd65
use default fonts from Theme
AlaaElattar Sep 30, 2024
b4ba59c
Show message if there are no proposals
AhmedHanafy725 Sep 30, 2024
72c52c2
Adjust the proposal search
AhmedHanafy725 Sep 30, 2024
3f7db03
Show error message when an error occur while loading farms
AhmedHanafy725 Sep 30, 2024
a4fb10f
Show message if there are no farms
AhmedHanafy725 Sep 30, 2024
675bfb2
Add validation to send screen
AhmedHanafy725 Sep 30, 2024
8b7c18c
Add validation to receive screen
AhmedHanafy725 Sep 30, 2024
28c3fa4
Merge branch 'development_cleanup_wallet_dao' into development_cleanu…
AhmedHanafy725 Sep 30, 2024
3944498
Some adjusting to wizard
AhmedHanafy725 Sep 30, 2024
887d2f1
Show error message on error while loading transactions
AhmedHanafy725 Sep 30, 2024
07d231d
Show error message on error while deleting wallet
AhmedHanafy725 Sep 30, 2024
cda7715
Show error message on error while modifying wallet
AhmedHanafy725 Sep 30, 2024
9448dc8
Fix navigation while deleting a wallet
AhmedHanafy725 Sep 30, 2024
875ab64
Add terms and condition url and relay url to flagsmith
AhmedHanafy725 Oct 1, 2024
8f7a267
Show an error for the adding farm dropdown
AhmedHanafy725 Oct 1, 2024
83292df
Merge branch 'development_cleanup_wallet_dao' into development_cleanu…
AlaaElattar Oct 1, 2024
72b8f14
Add error in case the user doesn't have any wallets
AhmedHanafy725 Oct 1, 2024
abe6498
Check farm name is available before creating transactions
AhmedHanafy725 Oct 1, 2024
e12a4ff
Merge remote-tracking branch 'origin/development_cleanup_wallet_dao_w…
AhmedHanafy725 Oct 1, 2024
6006b2d
Add validation for the addresses when adding contacts
AhmedHanafy725 Oct 1, 2024
0695a47
Handle empty screen for contacts
AhmedHanafy725 Oct 1, 2024
026decb
Merge pull request #618 from threefoldtech/development_wizard
AhmedHanafy725 Oct 2, 2024
ea0f0c2
Merge pull request #616 from threefoldtech/development_cleanup_wallet…
AhmedHanafy725 Oct 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 20 additions & 7 deletions app/android/app/build_local
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,20 @@ apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdkVersion flutter.compileSdkVersion
// compileSdkVersion flutter.compileSdkVersion
compileSdkVersion 34
ndkVersion flutter.ndkVersion

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}

lintOptions {
disable 'InvalidPackage'
}
disable 'InvalidPackage'
disable "Instantiatable"
checkReleaseBuilds false
abortOnError false
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand All @@ -47,7 +51,7 @@ android {
}

defaultConfig {
applicationId "org.jimber.threebotlogin.local"
applicationId "org.jimber.threebotlogin"
minSdkVersion 23
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
Expand All @@ -66,7 +70,6 @@ android {

}
}

buildTypes {
release {
signingConfig signingConfigs.release
Expand All @@ -75,6 +78,15 @@ android {
signingConfig signingConfigs.debug
}
}
buildscript {
ext {
stripeVersion = "20.19.1" // This is the version BEFORE the kotlin bump
}
}

dataBinding {
enabled = true
}
}

flutter {
Expand All @@ -89,6 +101,7 @@ dependencies {
implementation 'com.hbb20:ccp:2.4.0'
implementation 'com.google.code.gson:gson:2.8.6'
implementation "androidx.preference:preference-ktx:1.1.1"
implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"

}
24 changes: 19 additions & 5 deletions app/android/app/build_production
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,20 @@ apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdkVersion flutter.compileSdkVersion
// compileSdkVersion flutter.compileSdkVersion
compileSdkVersion 34
ndkVersion flutter.ndkVersion

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}

lintOptions {
disable 'InvalidPackage'
}
disable 'InvalidPackage'
disable "Instantiatable"
checkReleaseBuilds false
abortOnError false
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down Expand Up @@ -74,6 +78,15 @@ android {
signingConfig signingConfigs.debug
}
}
buildscript {
ext {
stripeVersion = "20.19.1" // This is the version BEFORE the kotlin bump
}
}

dataBinding {
enabled = true
}
}

flutter {
Expand All @@ -88,6 +101,7 @@ dependencies {
implementation 'com.hbb20:ccp:2.4.0'
implementation 'com.google.code.gson:gson:2.8.6'
implementation "androidx.preference:preference-ktx:1.1.1"
implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"

}
26 changes: 20 additions & 6 deletions app/android/app/build_staging
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,20 @@ apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdkVersion flutter.compileSdkVersion
// compileSdkVersion flutter.compileSdkVersion
compileSdkVersion 34
ndkVersion flutter.ndkVersion

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}

lintOptions {
disable 'InvalidPackage'
}
disable 'InvalidPackage'
disable "Instantiatable"
checkReleaseBuilds false
abortOnError false
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand All @@ -47,7 +51,7 @@ android {
}

defaultConfig {
applicationId "org.jimber.threebotlogin.staging"
applicationId "org.jimber.threebotlogin"
minSdkVersion 23
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
Expand All @@ -74,6 +78,15 @@ android {
signingConfig signingConfigs.debug
}
}
buildscript {
ext {
stripeVersion = "20.19.1" // This is the version BEFORE the kotlin bump
}
}

dataBinding {
enabled = true
}
}

flutter {
Expand All @@ -88,6 +101,7 @@ dependencies {
implementation 'com.hbb20:ccp:2.4.0'
implementation 'com.google.code.gson:gson:2.8.6'
implementation "androidx.preference:preference-ktx:1.1.1"
implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"

}
34 changes: 24 additions & 10 deletions app/android/app/build_testing
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,20 @@ apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdkVersion flutter.compileSdkVersion
// compileSdkVersion flutter.compileSdkVersion
compileSdkVersion 34
ndkVersion flutter.ndkVersion

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}

lintOptions {
disable 'InvalidPackage'
}
disable 'InvalidPackage'
disable "Instantiatable"
checkReleaseBuilds false
abortOnError false
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand All @@ -47,7 +51,7 @@ android {
}

defaultConfig {
applicationId "org.jimber.threebotlogin.testing"
applicationId "org.jimber.threebotlogin"
minSdkVersion 23
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
Expand All @@ -57,10 +61,10 @@ android {

signingConfigs {
release {
// keyAlias localProperties.getProperty('keyAlias')
// keyPassword localProperties.getProperty('keyPassword')
// storeFile file(localProperties.getProperty('storeFile'))
// storePassword localProperties.getProperty('storePassword')
keyAlias localProperties.getProperty('keyAlias')
keyPassword localProperties.getProperty('keyPassword')
storeFile file(localProperties.getProperty('storeFile'))
storePassword localProperties.getProperty('storePassword')
}
debug {

Expand All @@ -74,6 +78,15 @@ android {
signingConfig signingConfigs.debug
}
}
buildscript {
ext {
stripeVersion = "20.19.1" // This is the version BEFORE the kotlin bump
}
}

dataBinding {
enabled = true
}
}

flutter {
Expand All @@ -88,6 +101,7 @@ dependencies {
implementation 'com.hbb20:ccp:2.4.0'
implementation 'com.google.code.gson:gson:2.8.6'
implementation "androidx.preference:preference-ktx:1.1.1"
implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"

}
2 changes: 1 addition & 1 deletion app/android/app/src/main/AndroidManifest_local
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<manifest xmlns:tools="http://schemas.android.com/tools" xmlns:android="http://schemas.android.com/apk/res/android" package="org.jimber.threebotlogin.local">
<application tools:replace="android:label" android:label="3Bot Local" android:icon="@mipmap/ic_launcher" android:usesCleartextTraffic="true">
<activity android:name=".MainActivity" android:exported="true" 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:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize" android:enableOnBackInvokedCallback="false">
<meta-data android:name="io.flutter.embedding.android.NormalTheme" android:resource="@style/NormalTheme" />
<meta-data android:name="io.flutter.embedding.android.SplashScreenDrawable" android:resource="@drawable/launch_background" />
<intent-filter>
Expand Down
2 changes: 1 addition & 1 deletion app/android/app/src/main/AndroidManifest_production
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<manifest xmlns:tools="http://schemas.android.com/tools" xmlns:android="http://schemas.android.com/apk/res/android" package="org.jimber.threebotlogin">
<application tools:replace="android:label" android:label="Threefold Connect" android:icon="@mipmap/ic_launcher" android:usesCleartextTraffic="true">
<activity android:name=".MainActivity" android:exported="true" 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:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize" android:enableOnBackInvokedCallback="false">
<meta-data android:name="io.flutter.embedding.android.NormalTheme" android:resource="@style/NormalTheme" />
<meta-data android:name="io.flutter.embedding.android.SplashScreenDrawable" android:resource="@drawable/launch_background" />
<intent-filter>
Expand Down
2 changes: 1 addition & 1 deletion app/android/app/src/main/AndroidManifest_staging
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<manifest xmlns:tools="http://schemas.android.com/tools" xmlns:android="http://schemas.android.com/apk/res/android" package="org.jimber.threebotlogin.staging">
<application tools:replace="android:label" android:label="3Bot Staging" android:icon="@mipmap/ic_launcher" android:usesCleartextTraffic="true">
<activity android:name=".MainActivity" android:exported="true" 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:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize" android:enableOnBackInvokedCallback="false">
<meta-data android:name="io.flutter.embedding.android.NormalTheme" android:resource="@style/NormalTheme" />
<meta-data android:name="io.flutter.embedding.android.SplashScreenDrawable" android:resource="@drawable/launch_background" />
<intent-filter>
Expand Down
2 changes: 1 addition & 1 deletion app/android/app/src/main/AndroidManifest_testing
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<manifest xmlns:tools="http://schemas.android.com/tools" xmlns:android="http://schemas.android.com/apk/res/android" package="org.jimber.threebotlogin.testing">
<application tools:replace="android:label" android:label="3Bot Testing" android:icon="@mipmap/ic_launcher" android:usesCleartextTraffic="true">
<activity android:name=".MainActivity" android:exported="true" 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:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize" android:enableOnBackInvokedCallback="false">
<meta-data android:name="io.flutter.embedding.android.NormalTheme" android:resource="@style/NormalTheme" />
<meta-data android:name="io.flutter.embedding.android.SplashScreenDrawable" android:resource="@drawable/launch_background" />
<intent-filter>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ class MainActivity: FlutterFragmentActivity() {
override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
GeneratedPluginRegistrant.registerWith(flutterEngine)
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ class MainActivity: FlutterFragmentActivity() {
override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
GeneratedPluginRegistrant.registerWith(flutterEngine)
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ class MainActivity: FlutterFragmentActivity() {
override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
GeneratedPluginRegistrant.registerWith(flutterEngine)
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ class MainActivity: FlutterFragmentActivity() {
override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
GeneratedPluginRegistrant.registerWith(flutterEngine)
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ class MainActivity: FlutterFragmentActivity() {
override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
GeneratedPluginRegistrant.registerWith(flutterEngine)
}
}
}
10 changes: 7 additions & 3 deletions app/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@ buildscript {
repositories {
google()
jcenter()
maven { url 'https://maven.google.com' }
mavenCentral()
maven { url 'https://jitpack.io' } // add this line
maven { url 'https://maven.google.com' }

}

dependencies {
classpath 'com.android.tools.build:gradle:4.2.0'
// classpath 'com.android.tools.build:gradle:4.2.0'
classpath 'com.android.tools.build:gradle:7.3.0'
classpath 'com.google.gms:google-services:4.3.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
Expand All @@ -18,8 +21,9 @@ allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven { url 'https://jitpack.io' }
maven { url 'https://maven.google.com' }
maven { url 'https://jitpack.io' }
}
}

Expand Down
1 change: 1 addition & 0 deletions app/android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ org.gradle.daemon=true
org.gradle.configureondemand=true
# org.gradle.jvmargs=-Xmx4096m -XX:MaxPermSize=2048m -XX:+UseParallelGC -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
android.useAndroidX=true
android.jetifier.ignorelist=bcprov-jdk15on
android.enableJetifier=true
org.gradle.jvmargs=-Xmx1536M \
--add-exports=java.base/sun.nio.ch=ALL-UNNAMED \
Expand Down
2 changes: 1 addition & 1 deletion app/android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-all.zip
Loading