Comments (3)
Hi Stephen, for Android SDK its required to set the user id when the factory initialize, this design is needed to only sync the segment names that the user id is a member of, without the need to download all the segments contents.
The server side SDKs don't have this limitation, since they usually run on a faster networks.
Thanks
Bilal
from android-client.
@chillaq so I believe I can just re-instantiate a new SplitClient during login and logout?
from android-client.
Yes, just make sure to disable the old factory instance using client.Destroy() before initializing a new factory instance.
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
- Crash CursorWindow.java - Could not allocate CursorWindow HOT 7
- 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.