You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2016/07/16 14:08:20 UTC

[jira] [Closed] (CB-11331) No buttons appearing for iOS

     [ https://issues.apache.org/jira/browse/CB-11331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jcesarmobile closed CB-11331.
-----------------------------
    Resolution: Invalid
      Assignee: jcesarmobile

This is not a inAppBrowser issue, inAppBrowser plugin doesn't use any png file on iOS, this issue doesn't make any sense. I think your problem is on the themable browser, but that isn't a core plugin, so report the issue on https://github.com/initialxy/cordova-plugin-themeablebrowser/issues

BTW, you don't need sudo for anything, just install node using homebrew or use NVM instead, or fix the permission problems, but using sudo with node is bad.

> No buttons appearing for iOS
> ----------------------------
>
>                 Key: CB-11331
>                 URL: https://issues.apache.org/jira/browse/CB-11331
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin InAppBrowser
>    Affects Versions: 1.3.0
>         Environment: Ionic
>            Reporter: Yian
>            Assignee: jcesarmobile
>
> 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:
> - Removing all plugins, reinstalling
> - Cloning a fresh repo of my project, then reinstalling the plugins manually
> - Using inappbrowser version 1.2 x and 1.41
> I am using:
> cordova-plugin-inappbrowser 1.3.0 "InAppBrowser"
> cordova-plugin-themeablebrowser 0.2.15 "ThemeableBrowser"
> EDIT:
> 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 browser without using SUDO?
> 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))```



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org