New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(ios): remove busy loop and change waitForMemoryPanicCleared to noop since it's always on main thread (8_0_X) #10894
Conversation
…op since it's always on main thread Was previously used in kroll thread entry points to wait for main thread to handle memory warnings. Now it will just result in an infinite sleep loop because JS runs on main thread. Fixes TIMOB-27080
|
Still see the issue with the SDK build fetched from Jenkins for this PR. It consistently crashes when scrolling through the trips (had around 15 trips created and it crashes after scrolling through 8-10 trips). Following logs were shown in console during one of the crash Env: |
I pushed another commit to try and address the issue @ssekhri saw - looks like when we get a memory warning, we notify the proxies. If they happen to unregister as a result, I suspect the error he saw occurs as we're iterating over the dictionary containing the proxies. The "fix" is to iterate over a copy of the keys instead. As an aside, @janvennemann and @vijaysingh-axway I am a little confused about ow this method works. Looks like we get a memory warning and start notifying proxies, but we stop if the proxy count doesn't change - so if a proxy doesn't do anything about it, why wouldn't we let the other proxies handle it too? |
…ettings (tidev#10900) * [TIMOB-26778] Android: Improved merge of "tiapp.xml" file's android manifest settings into Titanium's default manifest settings - [TIMOB-26778] Fixed bug where overriding an <activity/> in "tiapp.xml" caused most "configChanges" values to be lost. * Would cause activity window's UI to disappear if a system config change occurred dynamically. - [TIMOB-26777] Fixed bug where connecting/disconnecting a physical keyboard to/from device caused UI to disappear. - [TIMOB-27067] Fixed bug where UI sometimes disappears on Android 9.0 or higher when batter saver turns on/off. - Added missing <activity/> "configChanges" values: * keyboard, layoutDirection, mcc, mnc, navigation, touchscreen, uiMode - Removed launchMode "singleTask" from "TiMapActivity" and "TiVideoActivity". (Not applicable to child activities.) * Android: Added new "allActivityConfigChanges" variable to be used by EJS "AndroidManifest.xml" template for [TIMOB-26778] - Fixed previous [TIMOB-26778] commit to not inject configChanges values to all activities such as those belonging to modules/AARs. * Should only be added to Titanium activities that need it. They're now injected via "allActivityConfigChanges" EJS template variable. - Removed last remnants of "Ti.Map" from build scripts. - Removed "TiVideoActivity" and "TiCameraActivity" injection code from build script. * There is no downside to always having these activities in the "AndroidManifest.xml". So, it's been simplified. * [TIMOB-27084] Android: Fixed issue where "tiapp.xml" was unable to override "AndroidManifest.xml" settings defined in AAR or "timodule.xml" - Change manifest merge order. Now merges AAR and "timodule.xml" settings first. "tiapp.xml" settings are merged last.
…sing MD5 keystore and JDK 8 (tidev#10889)
4a0cf96
to
3b87853
Compare
@sgtcoolguy |
@ssekhri Did the latest commit fix the issue? |
@sgtcoolguy I will check the latest commit. Unfortunately the ticket is still with In Review status hence didnt get the focus |
@sgtcoolguy I tried the commit on the PR (8.0.2.v20190530051406) and tried on three different iOS devices. |
merged manually. |
JIRA: https://jira.appcelerator.org/browse/TIMOB-27080
Description:
Was previously used in kroll thread entry points to wait for main thread to
handle memory warnings. Now it will just result in an infinite sleep loop
because JS runs on main thread.
This is an
8_0_X
backport of #10893