Open yarnball opened 8 years ago
On different machine- I used the same repo, but in this case their enviro used sudo- sudo ionic build ios
works, and adds the missing .png files to the .xproj file.
Normally- I just use ionic build ios
on another machine- does not add the icons.
I think the problem is that the command “ionic build ios” doesn’t have enough previleges to get access to the XCode and its iOS SDK.
When it grabs the icons for ios(not from .png(s) but from some objective-c header file which specify where it find the images from the system(iOS).
Is there a way to use the themeable browser without using SUDO?
Hi,
No buttons appear for me on iOS. On Android, it works fine.
I compared a friends build of the same repo, and it seems that for some reason- my myApp.xcodeproj/project.pbxproj does have the ic_action files added to it when it builds.
I have tried:
I am using: cordova-plugin-inappbrowser 1.3.0 "InAppBrowser" cordova-plugin-themeablebrowser 0.2.15 "ThemeableBrowser"
Using the Safari inspection tool- I can see the following JS error appearing when the InAppBrowser opens:
[Error] Image for close button, ic_action_remove, failed to load. (anonymous function) (console-via-logger.js:172) (anonymous function) (product.js:226) fire (cordova.js:771) _eventHandler (themeablebrowser.js:34) cb (themeablebrowser.js:102) callbackFromNative (cordova.js:286) (anonymous function) (cordova.js:1103) nativeEvalAndFetch (cordova.js:1111) nativeCallback (cordova.js:1100) global code (index.html (line 1)) [Error] Pressed image for close button, ic_action_remove, failed to load. (anonymous function) (console-via-logger.js:172) (anonymous function) (product.js:226) fire (cordova.js:771) _eventHandler (themeablebrowser.js:34) cb (themeablebrowser.js:102) callbackFromNative (cordova.js:286) (anonymous function) (cordova.js:1103) nativeEvalAndFetch (cordova.js:1111) nativeCallback (cordova.js:1100) global code (index.html (line 1)) [Error] Image for back button, ic_action_previous_item, failed to load. (anonymous function) (console-via-logger.js:172) (anonymous function) (product.js:226) fire (cordova.js:771) _eventHandler (themeablebrowser.js:34) cb (themeablebrowser.js:102) callbackFromNative (cordova.js:286) (anonymous function) (cordova.js:1103) nativeEvalAndFetch (cordova.js:1111) nativeCallback (cordova.js:1100) global code (index.html (line 1)) [Error] Pressed image for back button, ic_action_previous_item, failed to load. (anonymous function) (console-via-logger.js:172) (anonymous function) (product.js:226) fire (cordova.js:771) _eventHandler (themeablebrowser.js:34) cb (themeablebrowser.js:102) callbackFromNative (cordova.js:286) (anonymous function) (cordova.js:1103) nativeEvalAndFetch (cordova.js:1111) nativeCallback (cordova.js:1100) global code (index.html (line 1)) [Error] Image for forward button, ic_action_next_item, failed to load. (anonymous function) (console-via-logger.js:172) (anonymous function) (product.js:226) fire (cordova.js:771) _eventHandler (themeablebrowser.js:34) cb (themeablebrowser.js:102) callbackFromNative (cordova.js:286) (anonymous function) (cordova.js:1103) nativeEvalAndFetch (cordova.js:1111) nativeCallback (cordova.js:1100) global code (index.html (line 1)) [Error] Pressed image for forward button, ic_action_next_item, failed to load. (anonymous function) (console-via-logger.js:172) (anonymous function) (product.js:226) fire (cordova.js:771) _eventHandler (themeablebrowser.js:34) cb (themeablebrowser.js:102) callbackFromNative (cordova.js:286) (anonymous function) (cordova.js:1103) nativeEvalAndFetch (cordova.js:1111) nativeCallback (cordova.js:1100) global code (index.html (line 1))