Slava Kim
a8bcb24fcb
Poll for plugins to be ready in meteor_cordova_loader
2014-10-15 18:54:56 -07:00
Slava Kim
de6a037320
Move HCP-cache clean-up to autoupdate code
...
Clean up on every soft restart (every time the js app loads) not on every hard
restart (every time the native shell loads). This fixes the problem described
in issue #2727 : HCP cache keeps accumulating in development mode leading to
crashes.
2014-10-03 16:14:48 -07:00
Slava Kim
f24904b66c
Save HCP files into the dataDirectory from cordova.file plugin.
...
Rather than relying onto manual path manipulations.
2014-10-02 02:18:12 -07:00
Justin SB
2f34fd5201
Log the url we redirect to
2014-09-26 08:49:37 -07:00
Justin SB
c7b6a6c4b7
Include js filename in cordova log messages
2014-09-26 08:35:28 -07:00
Justin SB
977aef2488
Pass the err to fallback, which expects it
2014-09-26 08:33:37 -07:00
Justin SB
2ada859d5e
More logging in meteor_cordova_loader
2014-09-26 08:23:45 -07:00
Justin SB
b392d7b7e0
startServing -> startServer
2014-09-25 21:34:17 -07:00
Slava Kim
d68aa09c11
WIP
2014-09-25 21:01:40 -07:00
Slava Kim
9fc5b15b2a
Suppress debug logs from meteor hcp components
2014-09-24 15:42:53 -07:00
Slava Kim
1e8204a6b3
Randomize ports for httpd
2014-09-11 11:03:15 -07:00
Slava Kim
ca0354f6cb
Remove the warning from first boot page on mobile
2014-09-10 18:15:21 -07:00
Slava Kim
10599e5bc5
Hot Code Push working with pushing new boilerplate
...
at least on iOS
2014-09-09 15:56:11 -07:00
Slava Kim
51b588b40e
Got it right for ios emulator and device
...
(no hot code push yet)
2014-09-09 00:04:48 -07:00
Slava Kim
8643e52801
Make run somehow on android
2014-09-08 23:15:12 -07:00
Slava Kim
6bbffaae5a
wip: try to get logging back. try to hot code push
2014-09-08 18:06:03 -07:00
Slava Kim
76f0836e37
Another workaround for old Android browser's quircks around Event constructor
2014-08-28 18:07:34 -07:00
Slava Kim
1bb44c3cd1
Clean up the cache folder on every startup, so we don't keep all versions of
...
your app on disk forever.
2014-08-27 15:40:57 -07:00
Matthew Arbesfeld
bd86ed3450
Use <base href> tag to load from persistent storage.
...
This lets us use the correct path for assets in the `public` folder.
2014-08-27 15:33:00 -07:00
Slava Kim
d7cc32ccd3
A safer way to dispatch DOM events from cordova_loader.js
2014-08-25 15:40:52 -07:00
Matthew Arbesfeld
88150834c7
Remove errant console.log
2014-08-18 23:16:46 -07:00
Sashko Stubailo
2fdfc1f9c2
Replace colons with dashes
2014-08-18 19:59:57 -07:00
Slava Kim
d28c01b22c
Push history state '/' on load
2014-08-18 19:28:42 -07:00
Matthew Arbesfeld
3a675a7af3
Add --clean option to run and open-ide
2014-08-18 15:27:24 -07:00
Slava Kim
c6047a9cdf
Implement public Meteor.settings for Cordova builds
2014-08-18 14:07:40 -07:00
Matthew Arbesfeld
18b1184fe9
Keep separate versions of the app in separate folders.
...
We store a 'version' string at the root level of the device to
indicate the current version of the app that we should load.
2014-08-16 17:36:41 -07:00
Slava Kim
d3ab04a305
Update own current version in Cordova-Loader
2014-08-15 17:38:37 -07:00
Slava Kim
b876ac1532
Switch storage to app-specific folder on Android
...
helps if you have multiple apps, doesn't pollute your storage root and allows to
reset state with "clear cache" button
2014-08-15 13:52:43 -07:00
Slava Kim
eec07f72bb
Fix CSS reloading on HCP in a non-hacky way
...
org.apache.cordova.file fixed this bug in 1.3
2014-08-14 21:33:26 -07:00
Slava Kim
9f55598050
A hacky way to get css to work on hcp
2014-08-14 21:30:00 -07:00
Slava Kim
43e699464d
Ensure that js is loaded in order
2014-08-14 21:25:25 -07:00
Slava Kim
09cd163a2b
Try to load from assets in case we don't have manifest on FS
...
Has problems with scripts load ordering
2014-08-14 21:01:31 -07:00
Slava Kim
5fbe4aea66
Hot Code Push executes the saved code after the bundled code
2014-08-14 20:32:41 -07:00
Matthew Arbesfeld
bc8c366a78
Remove HCP for now, not working on Android
2014-08-14 14:31:18 -07:00
Matthew Arbesfeld
0a5e481bf7
Re-enable HCP
2014-08-13 19:01:12 -07:00
Sashko Stubailo
e533ca9aad
Remove hot code push and enable adb for android
2014-08-11 21:26:24 -07:00
Slava Kim
574d9398b2
Hide the initial page to prevent flicker
2014-07-29 17:22:37 -07:00
Matthew Arbesfeld
5e1c63b63b
Only autoupdate once everything is loaded.
2014-07-29 17:19:35 -07:00
Matthew Arbesfeld
3ea5e6d033
Hot code push works! yay
2014-07-29 15:43:32 -07:00
Matthew Arbesfeld
71966f407a
Turn off auto-reload. Still not able to remove initial script from page
2014-07-29 04:38:46 -07:00
Matthew Arbesfeld
7438549268
Something is working? It's super hacky
2014-07-29 01:57:18 -07:00
Matthew Arbesfeld
2a74a004db
Fix AJAX call for loading from local storage
2014-07-28 23:39:56 -07:00
Matthew Arbesfeld
610fcef388
Fix AJAX call for loading from local storage
2014-07-28 23:10:30 -07:00
Matthew Arbesfeld
43fc2be1b9
Something working, wip
2014-07-28 22:38:27 -07:00
Slava Kim
b1b20ec83a
wip more logging
2014-07-28 18:53:14 -07:00
Slava Kim
03fa26fc92
wip towards a hcp script
2014-07-28 18:03:05 -07:00
Slava Kim
ecfa2e76da
Remove old unused cordova boilerplate
2014-07-28 14:52:35 -07:00
Slava Kim
9cd77dbd14
Emulated app connects to the locally running server
...
> `meteor cordova emulate ios -h localhost -p 3000`
connects the app to localhost:3000
2014-07-16 15:43:27 -07:00
Matthew Arbesfeld
3d7d47c3ea
wip
2014-07-11 14:05:00 -07:00
Matthew Arbesfeld
2148497dde
Wip
2014-07-11 14:05:00 -07:00