Having issue with unnecessary reloads with Corodva

I am using Meteor 1.4.2.1 and run it on Cordovoa/ iOS.

Symptom: Sometimes (happens regularly) when a user is typing in a comment (input text) the app just refreshes.

I have hooked this up to the XCode and see the following in the logs:

2016-11-13 16:05:29.105969 Buzzy[4780:1662949] Apache Cordova native platform version 4.2.1 is starting.
2016-11-13 16:05:29.106594 Buzzy[4780:1662949] Multi-tasking -> Device: YES, App: YES
2016-11-13 16:05:29.113047 Buzzy[4780:1662949] 

Started backup to iCloud! Please be careful.
Your application might be rejected by Apple if you store too much data.
For more information please read "iOS Data Storage Guidelines" at:
https://developer.apple.com/icloud/documentation/data-storage/
To disable web storage backup to iCloud, set the BackupWebStorage preference to "local" in the Cordova config.xml file


2016-11-13 16:05:29.189643 Buzzy[4780:1662949] CDVWKWebViewEngine will reload WKWebView if required on resume
2016-11-13 16:05:29.189703 Buzzy[4780:1662949] Using WKWebView
2016-11-13 16:05:29.190058 Buzzy[4780:1662949] [CDVTimer][handleopenurl] 0.114977ms
2016-11-13 16:05:29.192885 Buzzy[4780:1662949] Unlimited access to network resources
2016-11-13 16:05:29.193008 Buzzy[4780:1662949] [CDVTimer][intentandnavigationfilter] 2.883017ms
2016-11-13 16:05:29.193122 Buzzy[4780:1662949] [CDVTimer][gesturehandler] 0.063956ms
2016-11-13 16:05:29.279486 Buzzy[4780:1662949] Serving asset bundle version: 06ea28124eb8221400a40960079115860933896c
[INFO] GCDWebServer started on port 12456 and reachable at http://localhost:12456/
2016-11-13 16:05:29.282914 Buzzy[4780:1662949] [CDVTimer][webapplocalserver] 89.712024ms
2016-11-13 16:05:29.362844 Buzzy[4780:1662949] [CDVTimer][statusbar] 79.820991ms
2016-11-13 16:05:29.389728 Buzzy[4780:1662949] [CDVTimer][splashscreen] 26.754022ms
2016-11-13 16:05:29.391270 Buzzy[4780:1662949] [CDVTimer][file] 1.438975ms
2016-11-13 16:05:29.391343 Buzzy[4780:1662949] [CDVTimer][TotalPluginStartup] 201.440990ms
2016-11-13 16:05:29.397942 Buzzy[4780:1662949] createNotificationChecker
2016-11-13 16:05:29.398002 Buzzy[4780:1662949] not coldstart
2016-11-13 16:05:29.399216 Buzzy[4780:1662949] active
2016-11-13 16:05:29.399365 Buzzy[4780:1662949] PushPlugin skip clear badge
2016-11-13 16:05:30.764086 Buzzy[4780:1663003] Push Plugin register called
2016-11-13 16:05:30.764167 Buzzy[4780:1663003] PushPlugin.register: setting badge to false
2016-11-13 16:05:30.764217 Buzzy[4780:1663003] PushPlugin.register: clear badge is set to 0
2016-11-13 16:05:30.764233 Buzzy[4780:1663003] PushPlugin.register: better button setup
2016-11-13 16:05:30.766323 Buzzy[4780:1663003] GCM Sender ID (null)
2016-11-13 16:05:30.766358 Buzzy[4780:1663003] Using APNS Notification
2016-11-13 16:05:30.815621 Buzzy[4780:1662949] Push Plugin register success: <0d25f167 838005a8 eb1ccede df656199 a09f2400 42c890d9 07cf30c5 ade0288c>
2016-11-13 16:05:46.399546 Buzzy[4780:1662949] THREAD WARNING: ['Geolocation'] took '15.332275' ms. Plugin should use a background thread.
2016-11-13 16:05:52.425549 Buzzy[4780:1662949] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2016-11-13 16:05:52.432063 Buzzy[4780:1662949] [MC] Reading from public effective user settings.
2016-11-13 16:05:52.553906 Buzzy[4780:1663270] 0x170159c80 Copy matching assets reply: XPC_TYPE_DICTIONARY  <dictionary: 0x170159c80> { count = 1, transaction: 0, voucher = 0x0, contents =
	"Result" => <int64: 0x17002ae40>: 29
}
2016-11-13 16:05:52.555853 Buzzy[4780:1663270] 0x17415adb0 Daemon configuration query reply: XPC_TYPE_DICTIONARY  <dictionary: 0x17415adb0> { count = 2, transaction: 0, voucher = 0x0, contents =
	"Dictionary" => <dictionary: 0x1741599c0> { count = 1, transaction: 0, voucher = 0x0, contents =
		"ServerURL" => <dictionary: 0x17415a780> { count = 3, transaction: 0, voucher = 0x0, contents =
			"com.apple.CFURL.magic" => <uuid: 0x17405de50> C3853DCC-9776-4114-B6C1-FD9F51944A6D
			"com.apple.CFURL.string" => <string: 0x174241b60> { length = 30, contents = "https://mesu.apple.com/assets/" }
			"com.apple.CFURL.base" => <null: 0x1b29a3e80>: null-object
		}
	}
	"Result" => <int64: 0x174032ac0>: 0
}
2016-11-13 16:05:52.556066 Buzzy[4780:1663270] [MobileAssetError:29] Unable to copy asset information from https://mesu.apple.com/assets/ for asset type com.apple.MobileAsset.TextInput.SpellChecker
2016-11-13 16:07:29.538374 Buzzy[4780:1663005] App startup timed out, reverting to last known good version
2016-11-13 16:07:29.566489 Buzzy[4780:1662949] Serving asset bundle version: 67d1c6554010cda90cacf6ebefb97315377b52cc
2016-11-13 16:07:31.338106 Buzzy[4780:1663606] Push Plugin register called
2016-11-13 16:07:31.338181 Buzzy[4780:1663606] PushPlugin.register: setting badge to false
2016-11-13 16:07:31.338201 Buzzy[4780:1663606] PushPlugin.register: clear badge is set to 0
2016-11-13 16:07:31.338214 Buzzy[4780:1663606] PushPlugin.register: better button setup
2016-11-13 16:07:31.338334 Buzzy[4780:1663606] GCM Sender ID (null)
2016-11-13 16:07:31.338351 Buzzy[4780:1663606] Using APNS Notification
2016-11-13 16:07:31.349338 Buzzy[4780:1662949] Push Plugin register success: <0d25f167 838005a8 eb1ccede df656199 a09f2400 42c890d9 07cf30c5 ade0288c>
2016-11-13 16:07:33.929582 Buzzy[4780:1662949] Start downloading asset manifest from: manifest.json -- https://buzzy.buzz/__cordova/
2016-11-13 16:07:35.051043 Buzzy[4780:1663614] Downloaded asset manifest for version: 06ea28124eb8221400a40960079115860933896c
2016-11-13 16:07:35.052566 Buzzy[4780:1663614] Download failure: Skipping downloading blacklisted version

the [MobileAssetError:29] Unable to copy asset information from https://mesu.apple.com/assets/ for asset type com.apple.MobileAsset.TextInput.SpellChecker happens when I tap into the text input.

After that the app refreshes.

I see the Start downloading asset manifest

So I am not clear if this is one issue or the refresh happens when it’s trying to get the latest version. from the server.

Anyway a bit stumped and users are yellin’ that they’re losing the comment they typed in before hitting send.

I did log here too https://github.com/meteor/meteor/issues/7876 but don’t seem to have a solution to this and was not 100% sure what is actually causing the issue.

Any ideas welcome?

thanks

@martijnwalraven any thoughts pls?