mirror of
https://github.com/hmalik144/easy_cc_flutter.git
synced 2025-12-10 03:05:34 +00:00
@@ -127,7 +127,7 @@ jobs:
|
|||||||
- fastlane_setup_android
|
- fastlane_setup_android
|
||||||
- run:
|
- run:
|
||||||
name: Build Android APK
|
name: Build Android APK
|
||||||
command: flutter build apk
|
command: flutter build apk --dart-define=currencyApiKey=%CURRENCY_API_KEY%
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: build/app/outputs/flutter-apk/app-release.apk
|
path: build/app/outputs/flutter-apk/app-release.apk
|
||||||
- run:
|
- run:
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ class MainViewModel extends BaseViewmodel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void setCurrencyRate(String fromCurrency, String toCurrency) {
|
void setCurrencyRate(String fromCurrency, String toCurrency) {
|
||||||
|
if (fromCurrency == toCurrency) return;
|
||||||
onStart();
|
onStart();
|
||||||
_repository.getConversationRateFromApi(fromCurrency, toCurrency).then(
|
_repository.getConversationRateFromApi(fromCurrency, toCurrency).then(
|
||||||
(value) {
|
(value) {
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
|||||||
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
||||||
# Read more about iOS versioning at
|
# Read more about iOS versioning at
|
||||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||||
version: 6.1.3+10
|
version: 6.1.4+11
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: '>=2.18.0-190.0.dev <3.0.0'
|
sdk: '>=2.18.0-190.0.dev <3.0.0'
|
||||||
|
|||||||
Reference in New Issue
Block a user