Merge remote-tracking branch 'origin/raj' into Anuj
@@ -12,7 +12,7 @@ A few resources to get you started if this is your first Flutter project:
|
|||||||
- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)
|
- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)
|
||||||
|
|
||||||
For help getting started with Flutter development, view the
|
For help getting started with Flutter development, view the
|
||||||
[online documentation](https://docs.flutter.dev/), which offers tutorials,
|
[online documentation](https://docs.flutter.dev/),which offers tutorials,
|
||||||
samples, guidance on mobile development, and a full API reference.
|
samples, guidance on mobile development, and a full API reference.
|
||||||
|
|
||||||
<h1>Figma Link</h1>
|
<h1>Figma Link</h1>
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ android {
|
|||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
||||||
applicationId = "com.citycards_customer.citycards_customer"
|
applicationId = "com.citycard.customer"
|
||||||
// You can update the following values to match your application needs.
|
// You can update the following values to match your application needs.
|
||||||
// For more information, see: https://flutter.dev/to/review-gradle-config.
|
// For more information, see: https://flutter.dev/to/review-gradle-config.
|
||||||
minSdk = flutter.minSdkVersion
|
minSdk = flutter.minSdkVersion
|
||||||
@@ -35,10 +35,16 @@ android {
|
|||||||
// TODO: Add your own signing config for the release build.
|
// TODO: Add your own signing config for the release build.
|
||||||
// Signing with the debug keys for now, so `flutter run --release` works.
|
// Signing with the debug keys for now, so `flutter run --release` works.
|
||||||
signingConfig = signingConfigs.getByName("debug")
|
signingConfig = signingConfigs.getByName("debug")
|
||||||
|
isMinifyEnabled = true
|
||||||
|
isShrinkResources = true
|
||||||
|
proguardFiles(
|
||||||
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||||
|
"proguard-rules.pro"
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
flutter {
|
flutter {
|
||||||
source = "../.."
|
source = "../.."
|
||||||
}
|
}
|
||||||
15
android/app/proguard-rules.pro
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
# Add project specific ProGuard rules here.
|
||||||
|
# By default, the flags in this file are appended to flags specified
|
||||||
|
# in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt
|
||||||
|
|
||||||
|
# Keep Stripe Push Provisioning classes
|
||||||
|
-keep class com.stripe.android.pushProvisioning.** { *; }
|
||||||
|
-dontwarn com.stripe.android.pushProvisioning.**
|
||||||
|
|
||||||
|
# Keep Stripe SDK
|
||||||
|
-keep class com.stripe.android.** { *; }
|
||||||
|
-dontwarn com.stripe.android.**
|
||||||
|
|
||||||
|
# Keep React Native Stripe SDK
|
||||||
|
-keep class com.reactnativestripesdk.** { *; }
|
||||||
|
-dontwarn com.reactnativestripesdk.**
|
||||||
@@ -1,15 +1,19 @@
|
|||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
||||||
|
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<application
|
<application
|
||||||
android:label="citycards_customer"
|
android:label="CityCard Customer"
|
||||||
android:name="${applicationName}"
|
android:name="${applicationName}"
|
||||||
android:icon="@mipmap/ic_launcher">
|
android:icon="@mipmap/launcher_icon">
|
||||||
<activity
|
<activity
|
||||||
android:name=".MainActivity"
|
android:name=".MainActivity"
|
||||||
android:exported="true"
|
android:exported="true"
|
||||||
android:launchMode="singleTop"
|
android:launchMode="singleTop"
|
||||||
android:taskAffinity=""
|
android:taskAffinity=""
|
||||||
android:theme="@style/LaunchTheme"
|
android:theme="@style/NormalTheme"
|
||||||
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
|
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
|
||||||
android:hardwareAccelerated="true"
|
android:hardwareAccelerated="true"
|
||||||
android:windowSoftInputMode="adjustResize">
|
android:windowSoftInputMode="adjustResize">
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
package com.citycards_customer.citycards_customer
|
package com.citycards_customer.citycards_customer
|
||||||
|
|
||||||
import io.flutter.embedding.android.FlutterActivity
|
import io.flutter.embedding.android.FlutterFragmentActivity
|
||||||
|
|
||||||
class MainActivity : FlutterActivity()
|
class MainActivity : FlutterFragmentActivity()
|
||||||
BIN
android/app/src/main/res/drawable-v21/background.png
Normal file
|
After Width: | Height: | Size: 69 B |
@@ -1,12 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!-- Modify this file to customize your launch splash screen -->
|
|
||||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<item android:drawable="?android:colorBackground" />
|
<item>
|
||||||
|
<bitmap android:gravity="fill" android:src="@drawable/background"/>
|
||||||
<!-- You can insert your own image assets here -->
|
</item>
|
||||||
<!-- <item>
|
|
||||||
<bitmap
|
|
||||||
android:gravity="center"
|
|
||||||
android:src="@mipmap/launch_image" />
|
|
||||||
</item> -->
|
|
||||||
</layer-list>
|
</layer-list>
|
||||||
|
|||||||
BIN
android/app/src/main/res/drawable/background.png
Normal file
|
After Width: | Height: | Size: 69 B |
@@ -1,12 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!-- Modify this file to customize your launch splash screen -->
|
|
||||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<item android:drawable="@android:color/white" />
|
<item>
|
||||||
|
<bitmap android:gravity="fill" android:src="@drawable/background"/>
|
||||||
<!-- You can insert your own image assets here -->
|
</item>
|
||||||
<!-- <item>
|
|
||||||
<bitmap
|
|
||||||
android:gravity="center"
|
|
||||||
android:src="@mipmap/launch_image" />
|
|
||||||
</item> -->
|
|
||||||
</layer-list>
|
</layer-list>
|
||||||
|
|||||||
BIN
android/app/src/main/res/mipmap-hdpi/launcher_icon.png
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
BIN
android/app/src/main/res/mipmap-mdpi/launcher_icon.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
android/app/src/main/res/mipmap-xhdpi/launcher_icon.png
Normal file
|
After Width: | Height: | Size: 6.2 KiB |
BIN
android/app/src/main/res/mipmap-xxhdpi/launcher_icon.png
Normal file
|
After Width: | Height: | Size: 7.7 KiB |
BIN
android/app/src/main/res/mipmap-xxxhdpi/launcher_icon.png
Normal file
|
After Width: | Height: | Size: 8.4 KiB |
20
android/app/src/main/res/values-night-v31/styles.xml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
<?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 on -->
|
||||||
|
<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>
|
||||||
|
<item name="android:windowSplashScreenBackground">#F95F62</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>
|
||||||
@@ -5,6 +5,10 @@
|
|||||||
<!-- Show a splash screen on the activity. Automatically removed when
|
<!-- Show a splash screen on the activity. Automatically removed when
|
||||||
the Flutter engine draws its first frame -->
|
the Flutter engine draws its first frame -->
|
||||||
<item name="android:windowBackground">@drawable/launch_background</item>
|
<item name="android:windowBackground">@drawable/launch_background</item>
|
||||||
|
<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>
|
</style>
|
||||||
<!-- Theme applied to the Android Window as soon as the process has started.
|
<!-- Theme applied to the Android Window as soon as the process has started.
|
||||||
This theme determines the color of the Android Window while your
|
This theme determines the color of the Android Window while your
|
||||||
|
|||||||
20
android/app/src/main/res/values-v31/styles.xml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
<?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.Light.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>
|
||||||
|
<item name="android:windowSplashScreenBackground">#F95F62</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.Light.NoTitleBar">
|
||||||
|
<item name="android:windowBackground">?android:colorBackground</item>
|
||||||
|
</style>
|
||||||
|
</resources>
|
||||||
@@ -2,9 +2,12 @@
|
|||||||
<resources>
|
<resources>
|
||||||
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off -->
|
<!-- 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.Light.NoTitleBar">
|
<style name="LaunchTheme" parent="@android:style/Theme.Light.NoTitleBar">
|
||||||
<!-- Show a splash screen on the activity. Automatically removed when
|
<!-- Use a plain background instead of a splash drawable -->
|
||||||
the Flutter engine draws its first frame -->
|
|
||||||
<item name="android:windowBackground">@drawable/launch_background</item>
|
<item name="android:windowBackground">@drawable/launch_background</item>
|
||||||
|
<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>
|
</style>
|
||||||
<!-- Theme applied to the Android Window as soon as the process has started.
|
<!-- Theme applied to the Android Window as soon as the process has started.
|
||||||
This theme determines the color of the Android Window while your
|
This theme determines the color of the Android Window while your
|
||||||
|
|||||||
BIN
assets/dummy/dummy_1.jpg
Normal file
|
After Width: | Height: | Size: 59 KiB |
BIN
assets/dummy/dummy_2.jpg
Normal file
|
After Width: | Height: | Size: 53 KiB |
BIN
assets/dummy/dummy_3.jpg
Normal file
|
After Width: | Height: | Size: 51 KiB |
BIN
assets/dummy/dummy_4.jpg
Normal file
|
After Width: | Height: | Size: 67 KiB |
BIN
assets/dummy/dummy_5.jpg
Normal file
|
After Width: | Height: | Size: 69 KiB |
BIN
assets/gif/empty_cart.gif
Normal file
|
After Width: | Height: | Size: 616 KiB |
BIN
assets/gif/empty_post_card.gif
Normal file
|
After Width: | Height: | Size: 486 KiB |
BIN
assets/gif/goto_school.gif
Normal file
|
After Width: | Height: | Size: 71 KiB |
BIN
assets/gif/itinenary_animation_for_citycards.mp4
Normal file
BIN
assets/icons/active.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
assets/icons/adult.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
assets/icons/adventure.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
assets/icons/arrow.png
Normal file
|
After Width: | Height: | Size: 335 B |
BIN
assets/icons/arrow_angle_up.png
Normal file
|
After Width: | Height: | Size: 566 B |
BIN
assets/icons/balanced.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
assets/icons/bus.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
assets/icons/bx_qr.png
Normal file
|
After Width: | Height: | Size: 469 B |
BIN
assets/icons/calender.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
assets/icons/calender_filled.png
Normal file
|
After Width: | Height: | Size: 623 B |
BIN
assets/icons/change_language.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
assets/icons/clock.png
Normal file
|
After Width: | Height: | Size: 3.0 KiB |
BIN
assets/icons/contact_us.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
assets/icons/delete_icon.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
assets/icons/discount_clock.png
Normal file
|
After Width: | Height: | Size: 6.0 KiB |
BIN
assets/icons/discount_crown.png
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
BIN
assets/icons/discount_percent.png
Normal file
|
After Width: | Height: | Size: 6.2 KiB |
BIN
assets/icons/edit_icon.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
assets/icons/esim_camera.png
Normal file
|
After Width: | Height: | Size: 4.0 KiB |
BIN
assets/icons/esim_location.png
Normal file
|
After Width: | Height: | Size: 4.6 KiB |
BIN
assets/icons/esim_people.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
assets/icons/esim_phone.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
assets/icons/exclusive.png
Normal file
|
After Width: | Height: | Size: 957 B |
BIN
assets/icons/explore.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
assets/icons/facebook.png
Normal file
|
After Width: | Height: | Size: 956 B |
BIN
assets/icons/faq.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
assets/icons/halal.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
assets/icons/hi_rate1.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
assets/icons/hi_rate2.png
Normal file
|
After Width: | Height: | Size: 33 KiB |
BIN
assets/icons/hi_rate3.png
Normal file
|
After Width: | Height: | Size: 28 KiB |
BIN
assets/icons/hi_rate4.png
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
assets/icons/indeed.png
Normal file
|
After Width: | Height: | Size: 793 B |
BIN
assets/icons/insta.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
assets/icons/kid.png
Normal file
|
After Width: | Height: | Size: 765 B |
BIN
assets/icons/kosher.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
assets/icons/location.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
assets/icons/magic.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
assets/icons/magic_creation.png
Normal file
|
After Width: | Height: | Size: 5.5 KiB |
BIN
assets/icons/no_restrictions_food.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
assets/icons/pass_icon.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
assets/icons/pesc.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
assets/icons/postcard_icon.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
assets/icons/privacy.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
assets/icons/process_phone.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
assets/icons/process_qr.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
assets/icons/process_wifi.png
Normal file
|
After Width: | Height: | Size: 3.1 KiB |
BIN
assets/icons/qty.png
Normal file
|
After Width: | Height: | Size: 896 B |
BIN
assets/icons/radio_button_checked.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
assets/icons/radio_button_unchecked.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
assets/icons/relaxed.png
Normal file
|
After Width: | Height: | Size: 26 KiB |
BIN
assets/icons/search.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
assets/icons/select_photo.png
Normal file
|
After Width: | Height: | Size: 6.7 KiB |
BIN
assets/icons/send_icon.png
Normal file
|
After Width: | Height: | Size: 882 B |
BIN
assets/icons/shopping_cart.png
Normal file
|
After Width: | Height: | Size: 874 B |
BIN
assets/icons/skype.png
Normal file
|
After Width: | Height: | Size: 45 KiB |
BIN
assets/icons/snapchat.png
Normal file
|
After Width: | Height: | Size: 940 B |
BIN
assets/icons/star.png
Normal file
|
After Width: | Height: | Size: 2.5 KiB |
BIN
assets/icons/terms_and_condition.png
Normal file
|
After Width: | Height: | Size: 703 B |
BIN
assets/icons/tr_rate1.png
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
assets/icons/tr_rate2.png
Normal file
|
After Width: | Height: | Size: 31 KiB |
BIN
assets/icons/tr_rate3.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
assets/icons/tr_rate4.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
assets/icons/truecaller.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
BIN
assets/icons/user_profile.png
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
assets/icons/veg.png
Normal file
|
After Width: | Height: | Size: 22 KiB |
BIN
assets/icons/vegan.png
Normal file
|
After Width: | Height: | Size: 23 KiB |
BIN
assets/icons/whatsapp.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
assets/icons/wi_rate1.png
Normal file
|
After Width: | Height: | Size: 33 KiB |
BIN
assets/icons/wi_rate2.png
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
assets/icons/wi_rate3.png
Normal file
|
After Width: | Height: | Size: 39 KiB |
BIN
assets/icons/wi_rate4.png
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
assets/images/aa1.png
Normal file
|
After Width: | Height: | Size: 1.3 MiB |
BIN
assets/images/aa2.png
Normal file
|
After Width: | Height: | Size: 1.7 MiB |