-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update mobile brand assets #1927
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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 @@ | ||
Update mobile brand assets |
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
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 modified
BIN
-53.7 KB
(42%)
android/app/src/main/res/drawable-land-night-hdpi/splash.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.32 KB
(88%)
android/app/src/main/res/drawable-land-night-ldpi/splash.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
-5.25 KB
(85%)
android/app/src/main/res/drawable-land-night-mdpi/splash.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
-147 KB
(38%)
android/app/src/main/res/drawable-land-night-xhdpi/splash.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
-253 KB
(38%)
android/app/src/main/res/drawable-land-night-xxhdpi/splash.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
-359 KB
(39%)
android/app/src/main/res/drawable-land-night-xxxhdpi/splash.png
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.
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.
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 modified
BIN
-18.2 KB
(79%)
android/app/src/main/res/drawable-port-night-hdpi/splash.png
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 modified
BIN
-3.18 KB
(90%)
android/app/src/main/res/drawable-port-night-mdpi/splash.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
-65.6 KB
(71%)
android/app/src/main/res/drawable-port-night-xhdpi/splash.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
-234 KB
(38%)
android/app/src/main/res/drawable-port-night-xxhdpi/splash.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
-324 KB
(41%)
android/app/src/main/res/drawable-port-night-xxxhdpi/splash.png
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+259 Bytes
(150%)
android/app/src/main/res/mipmap-hdpi/ic_launcher_background.png
Oops, something went wrong.
Binary file modified
BIN
-9.24 KB
(12%)
android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+56 Bytes
(120%)
android/app/src/main/res/mipmap-ldpi/ic_launcher_background.png
Oops, something went wrong.
Binary file modified
BIN
-3.71 KB
(15%)
android/app/src/main/res/mipmap-ldpi/ic_launcher_foreground.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+131 Bytes
(140%)
android/app/src/main/res/mipmap-mdpi/ic_launcher_background.png
Oops, something went wrong.
Binary file modified
BIN
-5.17 KB
(14%)
android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+567 Bytes
(180%)
android/app/src/main/res/mipmap-xhdpi/ic_launcher_background.png
Oops, something went wrong.
Binary file modified
BIN
-13.1 KB
(12%)
android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+1.42 KB
(240%)
android/app/src/main/res/mipmap-xxhdpi/ic_launcher_background.png
Oops, something went wrong.
Binary file modified
BIN
-24.3 KB
(10%)
android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png
Oops, something went wrong.
Binary file modified
BIN
-7.34 KB
(32%)
android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
Oops, something went wrong.
Oops, something went wrong.
Binary file modified
BIN
+2.31 KB
(240%)
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_background.png
Oops, something went wrong.
Binary file modified
BIN
-38 KB
(8.6%)
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png
Oops, something went wrong.
Binary file modified
BIN
-9.43 KB
(36%)
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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,3 @@ | ||
# Capacitor assets source files | ||
|
||
Files used as a source for Android and iOS icons and splash images. |
Oops, something went wrong.
Oops, something went wrong.
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,28 @@ | ||
# Mobile app development | ||
|
||
## Capacitor assets | ||
|
||
- Create `assets` folder with source images | ||
|
||
``` | ||
assets/ | ||
├── icon-only.png | ||
├── icon-foreground.png | ||
├── icon-background.png | ||
├── splash.png | ||
└── splash-dark.png | ||
``` | ||
|
||
- Run a generator for a target platform: | ||
|
||
``` | ||
npx @capacitor/assets generate --android | ||
npx @capacitor/assets generate --ios | ||
``` | ||
|
||
- Validate new assets in `resource` folder. | ||
Due to cropping and scaling issues update incorrect images manually | ||
- Use image compression web app or CLI | ||
- Additional information are available in [Capacitor Assets docs] | ||
|
||
[Capacitor Assets docs]: https://github.com/ionic-team/capacitor-assets#usage---custom-mode |
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
Binary file modified
BIN
+26.2 KB
(130%)
ios/App/App/Assets.xcassets/AppIcon.appiconset/[email protected]
Oops, something went wrong.
Binary file modified
BIN
-729 KB
(47%)
ios/App/App/Assets.xcassets/Splash.imageset/Default@1x~universal~anyany-dark.png
Oops, something went wrong.
Binary file modified
BIN
-729 KB
(47%)
ios/App/App/Assets.xcassets/Splash.imageset/Default@1x~universal~anyany.png
Oops, something went wrong.
Binary file modified
BIN
-729 KB
(47%)
ios/App/App/Assets.xcassets/Splash.imageset/Default@2x~universal~anyany-dark.png
Oops, something went wrong.
Binary file modified
BIN
-729 KB
(47%)
ios/App/App/Assets.xcassets/Splash.imageset/Default@2x~universal~anyany.png
Oops, something went wrong.
Binary file modified
BIN
-729 KB
(47%)
ios/App/App/Assets.xcassets/Splash.imageset/Default@3x~universal~anyany-dark.png
Oops, something went wrong.
Binary file modified
BIN
-729 KB
(47%)
ios/App/App/Assets.xcassets/Splash.imageset/Default@3x~universal~anyany.png
Oops, something went wrong.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once we release the mobile platform, it would be nice to add extensive guide on how to build, prepare OS for both platforms, etc. 👍