This question is locked. New answers and comments are not allowed.
Hi,
I've just come back to Icenium now that they are up to Cordova 2.7. Has anyone had any luck getting the inAppBrowser to work with the executeScript and injectCss commands that were new to 2.7?
Thanks,
Dave G
I've just come back to Icenium now that they are up to Cordova 2.7. Has anyone had any luck getting the inAppBrowser to work with the executeScript and injectCss commands that were new to 2.7?
Thanks,
Dave G
8 Answers, 1 is accepted
0
Noel
Top achievements
Rank 1
answered on 30 Jun 2013, 12:37 AM
Hi Dave,
I am having the same problem. I downloaded the everlive friends example app. It was working fine a few weeks ago. All of a sudden, I couldn't login with facebook on the acutal device anymore (simulator works fine). I realized it is the inappBrowser not firing. Please let me know if you or anyone has solved it.
Noel
I am having the same problem. I downloaded the everlive friends example app. It was working fine a few weeks ago. All of a sudden, I couldn't login with facebook on the acutal device anymore (simulator works fine). I realized it is the inappBrowser not firing. Please let me know if you or anyone has solved it.
Noel
0
Noel
Top achievements
Rank 1
answered on 30 Jun 2013, 12:41 AM
I am having the same problem. I downloaded the everlive friends example app. It was working fine a few weeks ago. All of a sudden, I couldn't login with facebook on the acutal device anymore (simulator works fine). I realized it is due to the Cordova upgrade casuing the inappBrowser not firing. Please let me know if you or anyone has solved it.
0
Augusto
Top achievements
Rank 1
answered on 30 Jun 2013, 05:48 PM
Same problem ;(
0
Augusto
Top achievements
Rank 1
answered on 30 Jun 2013, 05:50 PM
i Solved !
I commented this line after upgrading to 2.7, cause i was trying to a bug that was not starting my app.
<!--script type="text/javascript" charset="utf-8" src="Plugins/Child Browser/childbrowser.js"></script-->
Now :
<script type="text/javascript" charset="utf-8" src="Plugins/Child Browser/childbrowser.js"></script>
and its working normally... but on simulator i need to keep it commented to work.
I commented this line after upgrading to 2.7, cause i was trying to a bug that was not starting my app.
<!--script type="text/javascript" charset="utf-8" src="Plugins/Child Browser/childbrowser.js"></script-->
Now :
<script type="text/javascript" charset="utf-8" src="Plugins/Child Browser/childbrowser.js"></script>
and its working normally... but on simulator i need to keep it commented to work.
0
David
Top achievements
Rank 1
answered on 30 Jun 2013, 05:54 PM
Just a follow up: My executeScript based code is now working. Not sure what happened - the app just started working. So maybe it was a deployment glitch all along. Short version: executeScript does seem to work now.
Dave
Dave
0
Noel
Top achievements
Rank 1
answered on 02 Jul 2013, 05:23 AM
Thanks David and Augusto.
It still hasn't worked for me, and I don't know how to approach the problem. I have the script line that Augusto mentioned. My app works fine in the simulator and on my old sony ericsson phone but fails to work on iphone 4 and Samsung Galaxy s4/s1. By failing, I mean it is stuck at the login loading screen. The problem is that they all used to be able to login, but all of a sudden they all stopped working!
It still hasn't worked for me, and I don't know how to approach the problem. I have the script line that Augusto mentioned. My app works fine in the simulator and on my old sony ericsson phone but fails to work on iphone 4 and Samsung Galaxy s4/s1. By failing, I mean it is stuck at the login loading screen. The problem is that they all used to be able to login, but all of a sudden they all stopped working!
0
Augusto
Top achievements
Rank 1
answered on 02 Jul 2013, 12:11 PM
I'll try later on iphone 4, I'm using 4S now and its working!
Make sure you you Build and Deploy AGAIN by Mist.
And another thing, after these updates, console.info stopped working on Device/Simulator and my .JS is getting in cache, so i need to load my .JS using jquery passing a parameter with a ramdom time, excample:
"main.js?t" + new Date().getTime()
I discovered that, by adding some alerts to test! you can do the same to see where its stopping... put a lot of them lol ;)
Make sure you you Build and Deploy AGAIN by Mist.
And another thing, after these updates, console.info stopped working on Device/Simulator and my .JS is getting in cache, so i need to load my .JS using jquery passing a parameter with a ramdom time, excample:
"main.js?t" + new Date().getTime()
I discovered that, by adding some alerts to test! you can do the same to see where its stopping... put a lot of them lol ;)
0
Augusto
Top achievements
Rank 1
answered on 02 Jul 2013, 12:13 PM
I'll try later on iphone 4, I'm using 4S now and its working!
Make sure you Build and Deploy AGAIN by Mist.
And another thing, after these updates, console info stopped working on Device/Simulator and my javascripts files is getting in cache, so i need to load my javascripts using jquery passing a parameter with a ramdom time.
I discovered that, by adding some alerts to test! you can do the same to see where its stopping... put a lot of them lol
Make sure you Build and Deploy AGAIN by Mist.
And another thing, after these updates, console info stopped working on Device/Simulator and my javascripts files is getting in cache, so i need to load my javascripts using jquery passing a parameter with a ramdom time.
I discovered that, by adding some alerts to test! you can do the same to see where its stopping... put a lot of them lol