Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
347 commits
Select commit Hold shift + click to select a range
e563978
Add route for updating the user data
AhmedHanafy725 Jun 25, 2024
4562bef
Add method for updating the user data in the app
AhmedHanafy725 Jun 25, 2024
4112f84
Use the user update method to update email, phone, and identity after…
AhmedHanafy725 Jun 25, 2024
64e718d
Add tfchain and stellar clients to the app
AhmedHanafy725 Sep 4, 2024
27858cc
Add method for getting the user twin ID
AhmedHanafy725 Sep 4, 2024
8f67692
Add mehtods for setting and getting the twinId from the device storage
AhmedHanafy725 Sep 4, 2024
37a1430
Load twin details while staring the app
AhmedHanafy725 Sep 4, 2024
803bd81
Add chain url to flagsmith
AhmedHanafy725 Sep 4, 2024
f2a501e
Fix casting while saving the twin ID in the device storage
AhmedHanafy725 Sep 4, 2024
f7fa84c
Fix the condition of loading the twin ID
AhmedHanafy725 Sep 4, 2024
ee79c8e
Add spending limit to the flagsmith flags
AhmedHanafy725 Sep 5, 2024
7a3f9fb
Add gridproxy client to the app
AhmedHanafy725 Sep 8, 2024
888894e
Fix loading twin id
AhmedHanafy725 Sep 8, 2024
155f50b
Add method to get the user consumption on tfchain
AhmedHanafy725 Sep 8, 2024
43d691c
Add catch block with error snackbar for loading the twin
AhmedHanafy725 Sep 8, 2024
c2fd97e
Show the phone and identity verification based on the user spending
AhmedHanafy725 Sep 8, 2024
f6d11e4
Add grid proxy url to flagsmith
AhmedHanafy725 Sep 8, 2024
5f0644a
Format the snack bar
AhmedHanafy725 Sep 8, 2024
9236bf5
Use compute to not block the main thread and the ui
AhmedHanafy725 Sep 9, 2024
9f7ebbe
Increase the snackbar duration
AhmedHanafy725 Sep 9, 2024
52ec109
Only update the UI if the spending limit > 0
AhmedHanafy725 Sep 9, 2024
5a2c3e8
Add build runner package and upgrade the packages
AhmedHanafy725 Sep 9, 2024
64ac3a9
Fix opening file helper
AhmedHanafy725 Sep 9, 2024
4ca7b2e
Add the reflectable initializer in gridproxy service
AhmedHanafy725 Sep 9, 2024
8f2a9f5
Fix app config initialized globals
AhmedHanafy725 Sep 9, 2024
743d56b
Make the ui more smoother while getting the user spendings
AhmedHanafy725 Sep 9, 2024
be5ec4c
Remove unnecessairly global variable
AhmedHanafy725 Sep 9, 2024
deb7863
Fix bottom navbar for unselected taps
AhmedHanafy725 Sep 10, 2024
dc99ee3
Fix check on string from null to isNotEmpty
AhmedHanafy725 Sep 11, 2024
427d5b8
Use symmetric instead of LTRB
AhmedHanafy725 Sep 11, 2024
d4ad0c9
Merge pull request #614 from threefoldtech/development_cleanup_kyc
AhmedHanafy725 Sep 11, 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
3aa63f9
Merge pull request #619 from threefoldtech/development_cleanup_wallet…
AhmedHanafy725 Oct 2, 2024
e9c6c1b
Fix navigation after init screen
AhmedHanafy725 Oct 2, 2024
de2be2c
Merge pull request #620 from threefoldtech/development_cleanup_naviga…
AhmedHanafy725 Oct 2, 2024
c826c37
Block navigation from create pin code on registration and recovery
AhmedHanafy725 Oct 2, 2024
bf1a567
Add error handling for deleting contacts
AhmedHanafy725 Oct 2, 2024
9635046
Add toggle in settings page for Appearance
AlaaElattar Oct 2, 2024
60a5dda
undo MyApp to be statelessWidget
AlaaElattar Oct 2, 2024
a3cd653
Split the validation to show them at once
AhmedHanafy725 Oct 2, 2024
c489d0c
load saved theme in main.dart && fix dark switch
AlaaElattar Oct 2, 2024
7785ce1
Split the validation to show them at once while adding wallet
AhmedHanafy725 Oct 2, 2024
bc0759b
Trim the send inputs before confirmation
AhmedHanafy725 Oct 2, 2024
7736122
Fix loading while adding wallet
AhmedHanafy725 Oct 2, 2024
4ff1ae3
Split validation to show it at once while adding and editing contacts
AhmedHanafy725 Oct 2, 2024
09f29bc
Make bottom sheets not dismissible
AhmedHanafy725 Oct 2, 2024
a1152ef
Split validation to show it at once while adding a farm
AhmedHanafy725 Oct 2, 2024
9ecfe40
Make select the chain widget reusable
AhmedHanafy725 Oct 2, 2024
756ab47
Simplify the select chain widget
AhmedHanafy725 Oct 2, 2024
a73f8fc
Edit action color on custom widgets
AhmedHanafy725 Oct 2, 2024
f5a6f49
Update theme handling if no theme saved will use the system theme
AlaaElattar Oct 2, 2024
0620440
WIP: add tfloading.json to be animated
AlaaElattar Oct 3, 2024
a14b805
return ThemeMode.system from provider
AlaaElattar Oct 3, 2024
9952803
improve condition in preference_screen
AlaaElattar Oct 3, 2024
05b3c6d
Merge pull request #621 from threefoldtech/development_cleanup_theme_…
AhmedHanafy725 Oct 3, 2024
fe85d38
Merge branch 'development_cleanup' into development_cleanup_animated_…
AlaaElattar Oct 3, 2024
68f033a
Add warning dialog and use it in deleting wallet
AhmedHanafy725 Oct 3, 2024
5954900
Use the warning dialog in deleting the contacts
AhmedHanafy725 Oct 3, 2024
800c586
Use the correct secret seed in getting the twinid
AhmedHanafy725 Oct 5, 2024
ed28060
Fix loading wallet from 24 mnemonic
AhmedHanafy725 Oct 6, 2024
71c3611
Add animated logo in main screen && remove loading spinner
AlaaElattar Oct 7, 2024
6185bf0
add animate flag
AlaaElattar Oct 7, 2024
319081d
use height and width in Lottie and remove sizedBox
AlaaElattar Oct 7, 2024
5475f63
revert style of ThreeFold Connect App text
AlaaElattar Oct 7, 2024
6a2e061
Merge pull request #622 from threefoldtech/development_cleanup_animat…
AhmedHanafy725 Oct 7, 2024
3094aa9
update wizard images && add height and width inside image asset and r…
AlaaElattar Oct 7, 2024
04541ee
Merge pull request #623 from threefoldtech/development_cleanup_wizard…
AhmedHanafy725 Oct 7, 2024
1d60c25
Add failure handle to loading wallets
AhmedHanafy725 Oct 7, 2024
cfbddb1
Add failure widget to wallets screen
AhmedHanafy725 Oct 7, 2024
86986a9
Add initial wallet if not exists
AhmedHanafy725 Oct 7, 2024
7d7278c
Add button for the initial wallet and change the card colors
AhmedHanafy725 Oct 7, 2024
f148965
Change the contact card colors
AhmedHanafy725 Oct 7, 2024
7608f4a
Add initial wallet activation
AhmedHanafy725 Oct 7, 2024
8e8ff7f
Hide stellar if the account is not activated
AhmedHanafy725 Oct 7, 2024
dfb40b7
Upgrade flutter to version 3.22.0
AhmedHanafy725 Oct 9, 2024
d184738
Add news screen from the xlm endpoint && add endpoint in flagsmith se…
AlaaElattar Oct 9, 2024
c219fb8
use T&C url from flagsmith server
AlaaElattar Oct 9, 2024
7db82ac
Change the deprecated colors after upgrade to flutter 3.22.0
AhmedHanafy725 Oct 9, 2024
c62a5ee
Merge pull request #626 from threefoldtech/development_cleanup_upgrade
AhmedHanafy725 Oct 10, 2024
033e65d
WIP: replace webview with crisp chat
AlaaElattar Oct 10, 2024
fb38aa7
Merge branch 'development_cleanup' into development_cleanup_news
AlaaElattar Oct 10, 2024
1b3d33e
Use the transaction interface from the stellar client
AhmedHanafy725 Oct 10, 2024
111cbcb
handle pr comments
AlaaElattar Oct 11, 2024
58494f0
Fix Typos
AhmedHanafy725 Oct 13, 2024
c27c0a4
remove space in loading articles text
AlaaElattar Oct 13, 2024
d1db656
Merge pull request #625 from threefoldtech/development_cleanup_news
AhmedHanafy725 Oct 13, 2024
4dea197
WIP: trying to show chat only
AlaaElattar Oct 14, 2024
3c1afd9
Add idenfy package and fix build
AhmedHanafy725 Oct 14, 2024
9b9a39b
Merge branch 'development_cleanup' into development_cleanup_crisp_chat
AhmedHanafy725 Oct 14, 2024
e64a36d
Merge branch 'development_cleanup_kyc' into development_cleanup_crisp…
AhmedHanafy725 Oct 14, 2024
02c3656
Update the usage of the crips chat
AhmedHanafy725 Oct 15, 2024
896c7a5
Adjust the farm queries for voting on proposals
AhmedHanafy725 Oct 16, 2024
6d6a2d1
Store the twin_id on the backend service once it's available
AhmedHanafy725 Oct 16, 2024
0ee9523
Print the error in case of couldn't get the balance of stellar wallet
AhmedHanafy725 Oct 16, 2024
621f609
Fix loading empty wallets
AhmedHanafy725 Oct 16, 2024
71992e1
Fix loading empty contacts
AhmedHanafy725 Oct 16, 2024
7c177d7
Fix loading after failure in adding contact
AhmedHanafy725 Oct 16, 2024
c9c68b2
Fix adding initial wallet
AhmedHanafy725 Oct 16, 2024
35a654c
remove support icon from home page && remove resetting chatbot when c…
AlaaElattar Oct 17, 2024
e3ee171
remove commented code && dispose
AlaaElattar Oct 17, 2024
a61da71
revert changes in Podfile.lock file
AlaaElattar Oct 17, 2024
26a584c
revert changes in device_info_plus
AlaaElattar Oct 17, 2024
a5de3ba
Update device_info_plus
AlaaElattar Oct 17, 2024
85e0e1c
Delete app/linux/flutter/ephemeral/.plugin_symlinks/device_info_plus
AlaaElattar Oct 17, 2024
de3d066
Delete app/linux/flutter/ephemeral/.plugin_symlinks/package_info_plus
AlaaElattar Oct 17, 2024
a8d999a
Delete app/linux/flutter/ephemeral/.plugin_symlinks/path_provider_linux
AlaaElattar Oct 17, 2024
ad47e0d
Delete app/linux/flutter/ephemeral/.plugin_symlinks/shared_preference…
AlaaElattar Oct 17, 2024
a77ae88
Delete app/linux/flutter/ephemeral/.plugin_symlinks/smart_auth
AlaaElattar Oct 17, 2024
6268d43
Delete app/linux/flutter/ephemeral/.plugin_symlinks/sodium_libs
AlaaElattar Oct 17, 2024
0d61686
Delete app/linux/flutter/ephemeral/.plugin_symlinks/url_launcher_linux
AlaaElattar Oct 17, 2024
c4539d5
Delete app/linux/flutter/ephemeral/.plugin_symlinks/wakelock_plus
AlaaElattar Oct 17, 2024
a91aaef
Delete app/linux/flutter/generated_plugin_registrant.cc
AlaaElattar Oct 17, 2024
fe3d498
Delete app/linux/flutter/generated_plugin_registrant.h
AlaaElattar Oct 17, 2024
9fb58e8
Delete app/linux/flutter/generated_plugins.cmake
AlaaElattar Oct 17, 2024
03762fa
Delete app/macos/Flutter/GeneratedPluginRegistrant.swift
AlaaElattar Oct 17, 2024
fad0a46
Delete app/macos/Flutter/ephemeral/Flutter-Generated.xcconfig
AlaaElattar Oct 17, 2024
7501a03
Delete app/macos/Flutter/ephemeral/flutter_export_environment.sh
AlaaElattar Oct 17, 2024
9772ee6
Delete app/macos/Podfile
AlaaElattar Oct 17, 2024
2a6968c
Merge pull request #627 from threefoldtech/development_cleanup_crisp_…
AlaaElattar Oct 17, 2024
4ba481b
Merge pull request #650 from threefoldtech/development_cleanup_fix_wa…
AhmedHanafy725 Oct 17, 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
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -347,4 +347,10 @@ backend/services/__pycache__/productkeys.cpython-39.pyc
backend/services/__pycache__/socket.cpython-39.pyc

*.pyc
.vscode
.vscode

# reflected files
app/lib/main.reflectable.dart

# pubSpec override
app/pubspec_overrides.yaml
32 changes: 22 additions & 10 deletions app/android/app/build_local
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,24 @@ android {
}

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

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}

kotlinOptions {
jvmTarget = '1.8'
jvmTarget = '17'
}

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

}
}

buildTypes {
release {
signingConfig signingConfigs.release
Expand All @@ -75,6 +77,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 +100,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"

}
29 changes: 21 additions & 8 deletions app/android/app/build_production
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,24 @@ android {
}

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

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}

kotlinOptions {
jvmTarget = '1.8'
jvmTarget = '17'
}

defaultConfig {
applicationId "org.jimber.threebotlogin"
minSdkVersion 23
minSdkVersion 24
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
Expand All @@ -74,6 +77,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 +100,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"

}
31 changes: 22 additions & 9 deletions app/android/app/build_staging
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,24 @@ android {
}

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

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}

kotlinOptions {
jvmTarget = '1.8'
jvmTarget = '17'
}

defaultConfig {
applicationId "org.jimber.threebotlogin.staging"
minSdkVersion 23
applicationId "org.jimber.threebotlogin"
minSdkVersion 24
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
Expand All @@ -74,6 +77,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 +100,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"

}
39 changes: 26 additions & 13 deletions app/android/app/build_testing
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,24 @@ android {
}

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

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}

kotlinOptions {
jvmTarget = '1.8'
jvmTarget = '17'
}

defaultConfig {
applicationId "org.jimber.threebotlogin.testing"
minSdkVersion 23
applicationId "org.jimber.threebotlogin"
minSdkVersion 24
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
Expand All @@ -57,10 +60,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 +77,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 +100,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)
}
}
}
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<bitmap android:gravity="fill" android:src="@drawable/background"/>
</item>
</layer-list>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<bitmap android:gravity="fill" android:src="@drawable/background"/>
</item>
</layer-list>
Binary file modified app/android/app/src/main/res/drawable-v21/background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,4 @@
<item>
<bitmap android:gravity="fill" android:src="@drawable/background"/>
</item>
<item>
<bitmap android:gravity="center" android:src="@drawable/splash"/>
</item>
</layer-list>
</layer-list>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified app/android/app/src/main/res/drawable/background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 1 addition & 4 deletions app/android/app/src/main/res/drawable/launch_background.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,4 @@
<item>
<bitmap android:gravity="fill" android:src="@drawable/background"/>
</item>
<item>
<bitmap android:gravity="center" android:src="@drawable/splash"/>
</item>
</layer-list>
</layer-list>
19 changes: 19 additions & 0 deletions app/android/app/src/main/res/values-night-v31/styles.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off -->
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
<item name="android:forceDarkAllowed">false</item>
<item name="android:windowFullscreen">false</item>
<item name="android:windowDrawsSystemBarBackgrounds">false</item>
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
This theme determines the color of the Android Window while your
Flutter UI initializes, as well as behind your Flutter UI while its
running.

This Theme is only used starting with V2 of Flutter's Android embedding. -->
<style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
<item name="android:windowBackground">?android:colorBackground</item>
</style>
</resources>
Loading