You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Yian (JIRA)" <ji...@apache.org> on 2016/05/30 03:17:12 UTC

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

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

Yian updated CB-11331:
----------------------
    Description: 
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"

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))```

  was:
Hi,

No buttons appear for me on iOS. On Android, it works fine.

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"

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))```


> 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
>
> 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"
> 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