Closed phyr0s closed 7 years ago
What have you tried already?
@EddyVerbruggen I tried to copy the icon inside the resources/ios folder in cordova/ionic app
Hi again, Working fine. The problem is that cordova doesn't copy icons to asset catalog automatically.
Could you explain this some more? How should my file/directory structure look like afterwards?
Hi, I can explain vía teamViewer if you want :) El El sáb, 19 nov 2016 a las 8:29, vespino notifications@github.com escribió:
Could you explain this some more? How should my file/directory structure look like afterwards?
— You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/EddyVerbruggen/cordova-plugin-3dtouch/issues/22#issuecomment-261699004, or mute the thread https://github.com/notifications/unsubscribe-auth/AK3OVOj38VG7_ne8Eb0cjJvdwuVDfq52ks5q_qU2gaJpZM4KZ52G .
I would like to know how to add an option with my own custom icon. I know by now that I have to use the iconTemplate but then what?
You need to add manually the icon that you want to use in xCode asset catalog El El sáb, 19 nov 2016 a las 22:11, vespino notifications@github.com escribió:
I would like to know how to add an option with my own custom icon. I know by now that I have to use the iconTemplate but then what?
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/EddyVerbruggen/cordova-plugin-3dtouch/issues/22#issuecomment-261739858, or mute the thread https://github.com/notifications/unsubscribe-auth/AK3OVJnaRGlXG7IDEWTiw8mUfJMOk9byks5q_2XngaJpZM4KZ52G .
And what if I don't use Xcode or even a Mac for that matter?
You need to create the assets in xCode that assets generated one folder with the img and json data. You can copy that folder and create one before compile hook in cordova. In that hook you can copy and paste the assets :) El El sáb, 19 nov 2016 a las 22:17, vespino notifications@github.com escribió:
And what if I don't use Xcode or even a Mac for that matter?
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/EddyVerbruggen/cordova-plugin-3dtouch/issues/22#issuecomment-261740161, or mute the thread https://github.com/notifications/unsubscribe-auth/AK3OVIQIcx-hBkhcyZxQjTvsS9Kvmrqqks5q_2dQgaJpZM4KZ52G .
Like I said, no Xcode :( I will have to find some other solution then.
If you send to me the images I can generate to you the assets :) El El sáb, 19 nov 2016 a las 22:23, vespino notifications@github.com escribió:
Like I said, no Xcode :( I will have to find some other solution then.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/EddyVerbruggen/cordova-plugin-3dtouch/issues/22#issuecomment-261740541, or mute the thread https://github.com/notifications/unsubscribe-auth/AK3OVMC3JBfGdqa9_a0R_mwQDk3hNTD-ks5q_2jkgaJpZM4KZ52G .
I that would be great. I will do that this week.
Perfect :) El El sáb, 19 nov 2016 a las 22:26, vespino notifications@github.com escribió:
I that would be great. I will do that this week.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/EddyVerbruggen/cordova-plugin-3dtouch/issues/22#issuecomment-261740668, or mute the thread https://github.com/notifications/unsubscribe-auth/AK3OVEbHLhCI_n6TbJbNHRVN9uRhR_Hzks5q_2lxgaJpZM4KZ52G .
Can you tell me what you need exactly? Do the images require certain specs?
Png :) El El dom, 20 nov 2016 a las 12:31, vespino notifications@github.com escribió:
Can you tell me what you need exactly? Do the images require certain specs?
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/EddyVerbruggen/cordova-plugin-3dtouch/issues/22#issuecomment-261772680, or mute the thread https://github.com/notifications/unsubscribe-auth/AK3OVAuDToVaW9NQDqVjRj9XCAdASWRJks5rAC-ggaJpZM4KZ52G .
Ok, but what about pixels?
https://developer.apple.com/ios/human-interface-guidelines/resources/ Here you have got one psd El El dom, 20 nov 2016 a las 12:58, vespino notifications@github.com escribió:
Ok, but what about pixels?
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/EddyVerbruggen/cordova-plugin-3dtouch/issues/22#issuecomment-261773958, or mute the thread https://github.com/notifications/unsubscribe-auth/AK3OVHikndOerbw4HQlCN_kobpKE8kWtks5rADYCgaJpZM4KZ52G .
Take. Copy this folder into --> Platforms-->ios--> (Proyect Name ) --> Images.xcassets
And it's all you will have the custom icon. Remember that if you do one ionic state reset or you destroy the platform the icons is going to be deleted too!!
You should create one hook before compile to copy the icons in that folder.
Icons name for iconTemplate -->cart, detail, list
Thanks. I'm using Phonegap Build which uses a different directory structure (I think):
Payload
Do I have to change this IPA file which PGB provides before sending it to Apple? I guess not?
Mmmmm can we have one team viewer sesion? I can't help you if I don't see your estructure El El mar, 22 nov 2016 a las 19:42, vespino notifications@github.com escribió:
Thanks. I'm using Phonegap Build which uses a different directory structure (I think):
Payload
projectname.app
- _CodeSignature -- CDVNotification.bundle -- www
Do I have to change this IPA file which PGB provides before sending it to Apple? I guess not?
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/EddyVerbruggen/cordova-plugin-3dtouch/issues/22#issuecomment-262327698, or mute the thread https://github.com/notifications/unsubscribe-auth/AK3OVIRSVFYPojV1a_sMHgx5mnHCBvY8ks5rAzefgaJpZM4KZ52G .
We can. What is your mail address, I will send you the teamviewer data.
f.carrasco.marcos24@gmail.com El El mar, 22 nov 2016 a las 19:48, vespino notifications@github.com escribió:
We can. What is your mail address, I will send you the teamviewer data.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/EddyVerbruggen/cordova-plugin-3dtouch/issues/22#issuecomment-262329239, or mute the thread https://github.com/notifications/unsubscribe-auth/AK3OVEzRNrR5ZetR3xKWY3rUrmUIljEpks5rAzj6gaJpZM4KZ52G .
You've got mail :)
@EddyVerbruggen I had a Skype call with @videmort last night and we agreed on the following feature request: if you have the time, would it be possible to use icons located inside the project directory? I'm using Phonegap Build and there is no way for me to use the iconTemplate since I don't have access to the assets folder in the project structure since PGB works very differently. If it would be possible to place the images inside my project directory (next to my other images) and use a parameter iconLocation (or whatever) and set this to "images/icon.png" that would be great!
Please consider this request.
Hi @vespino this is Apple's spec, so I'm not sure that would be possible.
@EddyVerbruggen I have faith in your programming skills :)
How I can add the icon inside the Asset catalog? I want to use one custom icon but i don't know how. Thanks