ccavazos / titanium-alternate-icons Goto Github PK
View Code? Open in Web Editor NEWLeverage the ability to change the app icon in iOS 10.3+
License: Other
Leverage the ability to change the app icon in iOS 10.3+
License: Other
Would be nice to prevent the alert dialog to popup after a change.
I found an Swift example that does the trick, maybe somebody can updates this module?
http://bonney.io/2017/05/set-application-icon-ios/
Cheers
I have a problem when I enable <use-app-thinning>true</use-app-thinning>
. The icon is not found.
Documentation says you can use the hashed name of the icon generated in build/iphone/Assets.xcassets
but it is not clear to me how.
Test on iPhone 6s iOS 10.3.2
Titanium SDK 6.1.0.GA
xCode 8.3.3
[INFO] : Invoking xcodebuild
[ERROR] : ** BUILD FAILED **
[ERROR] : The following build commands failed:
[ERROR] : Ld build/Intermediates/Appname.build/Debug-iphoneos/Appname.build/Objects-normal/arm64/Appname normal arm64
[ERROR] : (1 failure)
I tested the example, but it doesn't work. I get this error when firing setDefaultIconName or setAlternateIconName.
[INFO] : isSupported: true
[INFO] : supportsAlternateIcons: true
[ERROR] : Script Error {
[ERROR] : column = 124;
[ERROR] : line = 50;
[ERROR] : message = "-[__NSCFString count]: unrecognized selector sent to instance 0x60000022bf60";
[ERROR] : sourceURL = "file:///Users/arjanbrinkman/Library/Developer/CoreSimulator/Devices/08F09387-1F66-43F3-A17F-55B253EFFB18/data/Containers/Bundle/Application/6023B10F-6750-467E-A628-25A3A711498D/xxx.app/alloy/controllers/index.js";
[ERROR] : stack = "[native code]\nfile:///Users/xxx/Library/Developer/CoreSimulator/Devices/08F09387-1F66-43F3-A17F-55B253EFFB18/data/Containers/Bundle/Application/6023B10F-6750-467E-A628-25A3A711498D/xxx.app/alloy/controllers/index.js:50:124";
[ERROR] : }
SDK 6.1.0.GA
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.