-
Notifications
You must be signed in to change notification settings - Fork 69
Error: gap_init:2 #8
Comments
Looks like cordova.js is not loaded properly. Can you give me a little more detail on how you got to this error ? |
Parashuram i run command On Wed, Nov 18, 2015 at 7:07 PM, Parashuram N [email protected]
|
Could be an error here - https://github.com/nparashuram/cordova-plugin-browsersync/blob/master/lib/pluginHook.js#L34 Basically, when you update any file, |
I enter this "cordova build" command before "cordova run ios -- On Wed, Nov 18, 2015 at 7:24 PM, Parashuram N [email protected]
|
After make some changes in console I see several Browsers Reloading 3-4 ... On Wed, Nov 18, 2015 at 7:24 PM, Parashuram N [email protected]
|
@jgluhov Has this problem been fixed ? Are you still having this issue ? |
Yes I have. On Wed, Dec 9, 2015 at 6:00 PM, Parashuram N [email protected]
|
@jgluhov Sorry, did not understand your reply. Did you mean that you are still having this issue, or that you have solved the problem ? |
Hey I've recorded a video for you. On Wed, Dec 9, 2015 at 10:23 PM, Parashuram N [email protected]
|
@jgluhov Did you mean to share the video in your comment? I don't seem to see the video in this issue. |
---------- Forwarded message ---------- Hey I've recorded a video for you. On Wed, Dec 9, 2015 at 10:23 PM, Parashuram N [email protected]
|
@jgluhov Looks like there could be a problem when you are replying via email client. I am still not able to see the video. |
How can I send you a video file ? On Tue, Dec 22, 2015 at 2:37 AM, Parashuram N [email protected]
|
@jgluhov You could upload it to something like dropbox, or youtube and send a link ? |
Ok I will do it On Tue, Dec 22, 2015 at 8:08 PM, Parashuram N [email protected]
|
https://www.dropbox.com/s/jcjh0znor6i4lkg/14%20Dec%202015%2011_04_52%20AM.m4a?dl=0 On Tue, Dec 22, 2015 at 8:08 PM, Parashuram N [email protected]
|
:) It's audio)) Just a moment I will make a video) On Wed, Dec 23, 2015 at 11:36 AM, EVGENY GLUKHOV [email protected] wrote:
|
I faced with a similar issue too when I run
Maybe the issue is related with serving incorrect platform assets? |
@mnasyrov @jgluhov I am planning to retire this project in favor of Taco-livereload. That is also based on pretty much the same code, and I am now a PM on that project. Would that fulfill your needs ? Are there anything that this project has, that taco-livereload does not have ? |
Hi! Can you point to some documentation for taco-livereload? I didn't know taco, I just found about it in your comment, but it seems to me that it isn't so easy to integrate in an existing project, is it? The plugin approach of this project and the focus on the browser-sync concern is far more appealing to me. Edit And also, there is that that I was fearing :(
|
@rixo Oooh -- that is an ugly error. There is no reason that taco-livereload should need that. Maybe we could see if we release taco-livereload as a standalone utility instead. Taco (stands for Tools for Apache Cordova) and has a bunch of utilities on top of Cordova - including things like a newer version of Ripple, way to install requirements, etc. |
Is this issue resolved ? I am still facing the same issue. |
@arihantdaga As pointed in the first comment, this error is indicative that Cordova is not loaded. And indeed, it is not loaded if you access your application directly from a browser, it is only included in the mobile build. If you setup is correct, you'll have browser-sync reloading in the app itself. Launch the app from your device or emulator, and the app webview will reload when files change. |
@rixo , Thank you vey much rixo. Now i understand. |
@arihantdaga I remember I had some difficulties passing this step too, but you're now in the right tracks. You're almost there I think; once you'll have figured the issue with the connection, it should work and it's pretty flawless browsersync then. Quite the difference in feedback loop, as compared as rebuilding the app with cordova each time! Unfortunately, I don't remember how I solved this myself, and I don't have access to the project I was working on anymore... Check the Cordova access control policy, I think it may have been hardened on the Cordova side since this project has been written. Ensure you don't have a CORS issue too. When your app is launched, you should be able to debug its webview with chrome://inspect to gain some insight... Good luck! |
I also have see this affair.but not as you find that .I have place my code or project on the Node.js Server , than visit the index.html by chrome browser on my mobile phone . Then the web has popup the panel,for that gap_init:2. |
Usually it happen because browser platform haven't being added Or.. |
This alert has shown up to me after reloading app or update data and browser-sync update my page what should I do to remove it
The text was updated successfully, but these errors were encountered: