Comments (7)
Thanks @DevHilmi , I see a pull request for this issue, we will review it and get back to you.
from android-client.
Hi @DevHilmi !
Sorry to hear of your inconveniences. We tried different scenarios on few devices with very high amounts of Splits (22k+) stored in the DB, with and without dynamic configs and we couldn't repro this particular failure.
We do get some messages that are similar but none of them was a Fatal/crash and the applications recovered by themselves, with or without the transaction code.
Nevertheless, as you pointed out that query could return a big result so using @transaction seems like the right thing to do. We've released an RC where we merged your PR that you can try if you want, with version 2.6.9-rc1. Since we couldn't repro we can't say for certain it'll fix your problem but it would be great if you can give it a try and let us know, if it fixes the issue we'll release as a stable patch.
If you could share some more details around where are you instantiating the SDK factories (on a lifecycle hook, main thread or background thread) as well as the code/configs used, when and how are you destroying it if that's the case, and which other libraries and versions you have installed, it would be amazing. You can share this here or through [email protected] if that's best.
We'll try to replicate your environment to see if we can also repro to confirm the fix. If you prefer to do it over zoom, please reach out through [email protected] so we schedule one.
Again, my sincere apologies for the inconveniences, we're working to try and figure out why you're getting issues with the SQLite DB as our top priority in mobile.
Best regards,
Nicolas.
from android-client.
Hi @NicoZelaya
Thank you for the detailed explanation for this issue and RC Release.
For the @transaction improvement we already try it out in our project but the issue is still happening.
For details "instantiating the SDK factories (on a lifecycle hook, main thread or background thread) as well as the code/configs used, when and how are you destroying it if that's the case, and which other libraries and versions you have installed". I will consult our Internal team to provide that through email.
from android-client.
Hi @NicoZelaya
This issue still exists even though we have used @transaction. This issue only appears on os 10. I want to ask which version of androidTargetSdkVersion and androidCompileSdkVersion does this split use? and what version of room for this split? is it using the target API and compile 29? If so, should we add <application android: requestLegacyExternalStorage = "true" ...> for android Q https://medium.com/@sriramaripirala/android-10-open-failed-eacces-permission-denied-da8b630a89df?
from android-client.
Hi @dstyo!
Currently we have the following setup in the SDK:
- compileSdkVersion:
28
- minSdkVersion:
15
- targetSdkVersion:
28
- Room version:
'2.2.2'
But in the app we're using to run our automated tests, we override the targetSdkVersion with 29
and Room '2.2.5'
.
I think this is not access related, but you're definitely welcome to try and see if that tag solves the problem for you. Sadly, given we couldn't repro properly yet, we can't say for certain either it'll help or not.
Thank you for sharing it anyways! Really appreciated, any extra detail you could have to help us reproduce the issue would be amazing.
Best,
Nico.
from android-client.
Hi Dwi, We released Android SDK 2.6.9 to fix this issue.
Thanks
Bilal
from android-client.
Thanks Bilal will upgrade into Android SDK 2.6.9 today , thank you split team.
from android-client.
Related Issues (20)
- Crashes in SplitUpdatesWorker and MySegmentsUpdateWorker HOT 11
- Proguard issue HOT 3
- Fatal Exception: java.lang.NullPointerException SqLitePersistentMySegmentsStorage HOT 4
- name: android.database.sqlite.SQLiteFullException database or disk is full (code 13) HOT 3
- [QUESTION] Best practices for re-initializing Split after shutdown() HOT 6
- Very slow startup, split consuming 100% CPU HOT 9
- SdkTargetPath.mySegments does not URL encode the Key String HOT 2
- Android Custom Widgets and Keyboard not getting updated Split Partitions Value when Apps is in Background HOT 8
- Creating a Split client on app targeting Android S (API 31) causes crash on Android S devices HOT 9
- App crash on launch after upgrading from 2.7.2 to 2.7.3 HOT 3
- IllegalArgumentException on SDK 31+ devices emulators HOT 3
- A listener was added for SDK_READY on the SDK, which has already fired and won’t be emitted again. The callback won’t be executed. HOT 4
- A listener was added for SDK_READY on the SDK, which has already fired and won’t be emitted again. The callback won’t be executed.
- Any issue not calling `client.destroy() ` before app shut down? HOT 2
- [v2.13.0] NPE on SplitEventTask.onPostExecution HOT 5
- [v2.13.1] Splits with custom targeting rules always return `control` HOT 3
- okhttp3 outdated version HOT 3
- Callbacks are not executing on client.on(SplitEvent.SDK_READY) HOT 4
- (Network) Instrumentation/Telemetry on top of OkHttp HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-client.