-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added splash image and flutter native splash package * tested on IOS * remove flutter_native_splash * remove test codes * [Bazaar] Create UI of a single business page (#1303) * created Single Business, its stores, widgets * added svg * navigation from BazaarMain to SingleBusinessView * added dic to mapButton, deleted comments from BusinessDetailPage, sorted imports * fixed model, store and navigation * added translation, added xtra parameters in model and widgets * did fixes by PR comments * deleted unused assets * fixes by PR comments --------- Co-authored-by: Zhanara <91150590+SourbaevaJanaraJ@users.noreply.github.com> Co-authored-by: clangenb <37865735+clangenb@users.noreply.github.com>
- Loading branch information
1 parent
86f4cdb
commit f70f2e9
Showing
23 changed files
with
184 additions
and
122 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions
9
app/android/app/src/main/res/drawable-v21/launch_background.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?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> | ||
<item> | ||
<bitmap android:gravity="center" android:src="@drawable/splash"/> | ||
</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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-12.8 KB
app/android/app/src/main/res/drawable/app_icon_encointer_colored.png
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.
11 changes: 4 additions & 7 deletions
11
app/android/app/src/main/res/drawable/launch_background.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,9 @@ | ||
<?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"> | ||
<item android:drawable="@android:color/white" /> | ||
|
||
<!-- You can insert your own image assets here --> | ||
<item> | ||
<bitmap | ||
android:gravity="center" | ||
android:src="@drawable/launcher_icon" /> | ||
<bitmap android:gravity="fill" android:src="@drawable/background"/> | ||
</item> | ||
<item> | ||
<bitmap android:gravity="center" android:src="@drawable/splash"/> | ||
</item> | ||
</layer-list> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?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"> | ||
<!-- Show a splash screen on the activity. Automatically removed when | ||
the Flutter engine draws its first frame --> | ||
<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> | ||
<!-- 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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions
21
app/ios/Runner/Assets.xcassets/LaunchBackground.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"filename" : "background.png", | ||
"idiom" : "universal", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"idiom" : "universal", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"idiom" : "universal", | ||
"scale" : "3x" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
Binary file added
BIN
+69 Bytes
app/ios/Runner/Assets.xcassets/LaunchBackground.imageset/background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions
10
app/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"idiom" : "universal", | ||
"filename" : "LaunchImage.png", | ||
"idiom" : "universal", | ||
"scale" : "1x" | ||
}, | ||
{ | ||
"idiom" : "universal", | ||
"filename" : "LaunchImage@2x.png", | ||
"idiom" : "universal", | ||
"scale" : "2x" | ||
}, | ||
{ | ||
"idiom" : "universal", | ||
"filename" : "LaunchImage@3x.png", | ||
"idiom" : "universal", | ||
"scale" : "3x" | ||
} | ||
], | ||
"info" : { | ||
"version" : 1, | ||
"author" : "xcode" | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
Binary file modified
BIN
-1.17 KB
(87%)
app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.58 KB
(91%)
app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-14.8 KB
(79%)
app/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,114 +1,116 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>BGTaskSchedulerPermittedIdentifiers</key> | ||
<array> | ||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> | ||
</array> | ||
<key>CFBundleAllowMixedLocalizations</key> | ||
<true/> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>$(DEVELOPMENT_LANGUAGE)</string> | ||
<key>CFBundleExecutable</key> | ||
<string>$(EXECUTABLE_NAME)</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<!-- localization --> | ||
<key>CFBundleLocalizations</key> | ||
<array> | ||
<string>en</string> | ||
<string>de</string> | ||
<string>fr</string> | ||
<string>ru</string> | ||
</array> | ||
<!-- localization --> | ||
<key>CFBundleName</key> | ||
<string>Encointerwallet</string> | ||
<key>CFBundlePackageType</key> | ||
<string>APPL</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>$(FLUTTER_BUILD_NAME)</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<key>CFBundleVersion</key> | ||
<string>$(FLUTTER_BUILD_NUMBER)</string> | ||
<key>ITSAppUsesNonExemptEncryption</key> | ||
<false/> | ||
<key>LSApplicationQueriesSchemes</key> | ||
<array> | ||
<string>https</string> | ||
</array> | ||
<key>LSRequiresIPhoneOS</key> | ||
<true/> | ||
<key>NSAppTransportSecurity</key> | ||
<dict> | ||
<key>NSAllowsArbitraryLoads</key> | ||
<key>BGTaskSchedulerPermittedIdentifiers</key> | ||
<array> | ||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> | ||
</array> | ||
<key>CFBundleAllowMixedLocalizations</key> | ||
<true/> | ||
<key>NSAllowsArbitraryLoadsInWebContent</key> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>$(DEVELOPMENT_LANGUAGE)</string> | ||
<key>CFBundleExecutable</key> | ||
<string>$(EXECUTABLE_NAME)</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<!-- localization --> | ||
<key>CFBundleLocalizations</key> | ||
<array> | ||
<string>en</string> | ||
<string>de</string> | ||
<string>fr</string> | ||
<string>ru</string> | ||
</array> | ||
<!-- localization --> | ||
<key>CFBundleName</key> | ||
<string>Encointerwallet</string> | ||
<key>CFBundlePackageType</key> | ||
<string>APPL</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>$(FLUTTER_BUILD_NAME)</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<key>CFBundleVersion</key> | ||
<string>$(FLUTTER_BUILD_NUMBER)</string> | ||
<key>ITSAppUsesNonExemptEncryption</key> | ||
<false/> | ||
<key>LSApplicationQueriesSchemes</key> | ||
<array> | ||
<string>https</string> | ||
</array> | ||
<key>LSRequiresIPhoneOS</key> | ||
<true/> | ||
</dict> | ||
<key>NSCalendarsUsageDescription</key> | ||
<string>Add calendar entries for the next community ceremony</string> | ||
<key>NSCameraUsageDescription</key> | ||
<string>Read QR Code of addresses.</string> | ||
<key>NSPhotoLibraryUsageDescription</key> | ||
<string>Read QR Code of addresses from photos.</string> | ||
<key>UIBackgroundModes</key> | ||
<array> | ||
<string>fetch</string> | ||
<string>processing</string> | ||
<string>remote-notification</string> | ||
</array> | ||
<key>UILaunchStoryboardName</key> | ||
<string>LaunchScreen</string> | ||
<key>UIMainStoryboardFile</key> | ||
<string>Main</string> | ||
<key>UISupportedInterfaceOrientations</key> | ||
<array> | ||
<string>UIInterfaceOrientationPortrait</string> | ||
<string>UIInterfaceOrientationLandscapeLeft</string> | ||
<string>UIInterfaceOrientationLandscapeRight</string> | ||
</array> | ||
<key>UISupportedInterfaceOrientations~ipad</key> | ||
<array> | ||
<string>UIInterfaceOrientationPortrait</string> | ||
<string>UIInterfaceOrientationPortraitUpsideDown</string> | ||
<string>UIInterfaceOrientationLandscapeLeft</string> | ||
<string>UIInterfaceOrientationLandscapeRight</string> | ||
</array> | ||
<key>UIViewControllerBasedStatusBarAppearance</key> | ||
<false/> | ||
<key>io.flutter.embedded_views_preview</key> | ||
<string>YES</string> | ||
<key>CADisableMinimumFrameDurationOnPhone</key> | ||
<true/> | ||
<!-- deep link-uni link --> | ||
<key>FlutterDeepLinkingEnabled</key> | ||
<true/> | ||
<key>CFBundleURLTypes</key> | ||
<array> | ||
<key>NSAppTransportSecurity</key> | ||
<dict> | ||
<key>CFBundleTypeRole</key> | ||
<string>Editor</string> | ||
<key>CFBundleURLName</key> | ||
<string>/</string> | ||
<key>CFBundleURLSchemes</key> | ||
<key>NSAllowsArbitraryLoads</key> | ||
<true/> | ||
<key>NSAllowsArbitraryLoadsInWebContent</key> | ||
<true/> | ||
</dict> | ||
<key>NSCalendarsUsageDescription</key> | ||
<string>Add calendar entries for the next community ceremony</string> | ||
<key>NSCameraUsageDescription</key> | ||
<string>Read QR Code of addresses.</string> | ||
<key>NSPhotoLibraryUsageDescription</key> | ||
<string>Read QR Code of addresses from photos.</string> | ||
<key>UIBackgroundModes</key> | ||
<array> | ||
<string>https</string> | ||
<string>fetch</string> | ||
<string>processing</string> | ||
<string>remote-notification</string> | ||
</array> | ||
</dict> | ||
</array> | ||
<!-- local_auth --> | ||
<key>NSFaceIDUsageDescription</key> | ||
<string>Used to unlock the app to send transactions to other members</string> | ||
<!-- Impeller --> | ||
<key>FLTEnableImpeller</key> | ||
<true/> | ||
<!-- ... other tags --> | ||
<key>UIApplicationSupportsIndirectInputEvents</key> | ||
<true/> | ||
</dict> | ||
<key>UILaunchStoryboardName</key> | ||
<string>LaunchScreen</string> | ||
<key>UIMainStoryboardFile</key> | ||
<string>Main</string> | ||
<key>UISupportedInterfaceOrientations</key> | ||
<array> | ||
<string>UIInterfaceOrientationPortrait</string> | ||
<string>UIInterfaceOrientationLandscapeLeft</string> | ||
<string>UIInterfaceOrientationLandscapeRight</string> | ||
</array> | ||
<key>UISupportedInterfaceOrientations~ipad</key> | ||
<array> | ||
<string>UIInterfaceOrientationPortrait</string> | ||
<string>UIInterfaceOrientationPortraitUpsideDown</string> | ||
<string>UIInterfaceOrientationLandscapeLeft</string> | ||
<string>UIInterfaceOrientationLandscapeRight</string> | ||
</array> | ||
<key>UIViewControllerBasedStatusBarAppearance</key> | ||
<false/> | ||
<key>io.flutter.embedded_views_preview</key> | ||
<string>YES</string> | ||
<key>CADisableMinimumFrameDurationOnPhone</key> | ||
<true/> | ||
<!-- deep link-uni link --> | ||
<key>FlutterDeepLinkingEnabled</key> | ||
<true/> | ||
<key>CFBundleURLTypes</key> | ||
<array> | ||
<dict> | ||
<key>CFBundleTypeRole</key> | ||
<string>Editor</string> | ||
<key>CFBundleURLName</key> | ||
<string>/</string> | ||
<key>CFBundleURLSchemes</key> | ||
<array> | ||
<string>https</string> | ||
</array> | ||
</dict> | ||
</array> | ||
<!-- local_auth --> | ||
<key>NSFaceIDUsageDescription</key> | ||
<string>Used to unlock the app to send transactions to other members</string> | ||
<!-- Impeller --> | ||
<key>FLTEnableImpeller</key> | ||
<true/> | ||
<!-- ... other tags --> | ||
<key>UIApplicationSupportsIndirectInputEvents</key> | ||
<true/> | ||
<key>UIStatusBarHidden</key> | ||
<false/> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters