blotoutio / sdk-android Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
android.database.sqlite.SQLiteBlobTooBigException: Row too big to fit into CursorWindow requiredPos=1, totalRows=2
at android.database.sqlite.SQLiteConnection.nativeExecuteForCursorWindow(Native Method)
at android.database.sqlite.SQLiteConnection.executeForCursorWindow(SQLiteConnection.java:1001)
at android.database.sqlite.SQLiteSession.executeForCursorWindow(SQLiteSession.java:838)
at android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:62)
at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:161)
at android.database.sqlite.SQLiteCursor.onMove(SQLiteCursor.java:131)
at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:248)
at android.database.AbstractCursor.moveToNext(AbstractCursor.java:280)
at com.analytics.blotout.data.database.dao.EventDao_Impl$3.call(EventDao_Impl.java:100)
at com.analytics.blotout.data.database.dao.EventDao_Impl$3.call(EventDao_Impl.java:92)
at androidx.room.CoroutinesRoom$Companion$createFlow$1$1.invokeSuspend(CoroutinesRoom.kt:122)
Partner : Global id
Reported on : 16th March 2022
Reported by : Gasper Kojek
Cause : Hi, on android we’ve noticed we’re getting the following exception: java.lang.IllegalAccessException: Tried to access visual service WindowManager from a non-visual Context:com.globalid.App@9687de7 (full log in thread). This only happens when running with Android 12 device. We’re targeting API 31.
2022-03-16 14:28:28.879 7037-7037/net.globalid.staging.debug E/ContextImpl: Tried to access visual service WindowManager from a non-visual Context:com.globalid.App@9687de7 WindowManager should be accessed from Activity or other visual Context. Use an Activity or a Context created with Context#createWindowContext(int, Bundle), which are adjusted to the configuration and visual bounds of an area on screen.
java.lang.IllegalAccessException: Tried to access visual service WindowManager from a non-visual Context:com.globalid.App@9687de7
at android.app.ContextImpl.getSystemService(ContextImpl.java:2059)
at android.content.ContextWrapper.getSystemService(ContextWrapper.java:857)
at com.analytics.blotout.deviceinfo.device.DeviceInfo.getScreenHeight(DeviceInfo.kt:131)
at com.analytics.blotout.model.Screen.(Screen.kt:17)
at com.analytics.blotout.repository.EventRepository.prepareEvents(EventRepository.kt:203)
at com.analytics.blotout.repository.EventRepository.prepareSystemEvent(EventRepository.kt:147)
at com.analytics.blotout.AnalyticsActivityLifecycleCallbacks.onActivityPaused(AnalyticsActivityLifecycleCallbacks.kt:123)
at android.app.Application.dispatchActivityPaused(Application.java:446)
at android.app.Activity.dispatchActivityPaused(Activity.java:1433)
at android.app.Activity.onPause(Activity.java:2382)
at androidx.fragment.app.FragmentActivity.onPause(FragmentActivity.java:364)
at com.globalid.ui.main.MainActivity.onPause(MainActivity.kt:70)
at android.app.Activity.performPause(Activity.java:8235)
at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1530)
at android.app.ActivityThread.performPauseActivityIfNeeded(ActivityThread.java:5032)
at android.app.ActivityThread.performPauseActivity(ActivityThread.java:4993)
at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:4945)
at android.app.servertransaction.PauseActivityItem.execute(PauseActivityItem.java:47)
at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2210)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7839)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
Note: it’s not crashing the app, but it’s visible in logcat.
Caused by android.os.DeadObjectException
android.os.BinderProxy.transactNative (BinderProxy.java)
com.android.installreferrer.api.InstallReferrerClientImpl.getInstallReferrer (InstallReferrerClientImpl.java:8)
com.analytics.blotout.referral.InstallRefferal.getReferrerData (InstallRefferal.kt:47)
com.analytics.blotout.referral.InstallRefferal.access$getReferrerData (InstallRefferal.kt:8)
com.analytics.blotout.referral.InstallRefferal$startClient$1.onInstallReferrerSetupFinished (InstallRefferal.kt:21)
com.android.installreferrer.api.InstallReferrerClientImpl$InstallReferrerServiceConnection.onServiceConnected (InstallReferrerClientImpl.java:5)
reported by customer
We need to add to all system event path as additional data. Path in this case would be screen name.
android.database.sqlite.SQLiteBlobTooBigException: Row too big to fit into CursorWindow requiredPos=1, totalRows=2
at android.database.sqlite.SQLiteConnection.nativeExecuteForCursorWindow(Native Method)
at android.database.sqlite.SQLiteConnection.executeForCursorWindow(SQLiteConnection.java:1001)
at android.database.sqlite.SQLiteSession.executeForCursorWindow(SQLiteSession.java:838)
at android.database.sqlite.SQLiteQuery.fillWindow(SQLiteQuery.java:62)
at android.database.sqlite.SQLiteCursor.fillWindow(SQLiteCursor.java:161)
at android.database.sqlite.SQLiteCursor.onMove(SQLiteCursor.java:131)
at android.database.AbstractCursor.moveToPosition(AbstractCursor.java:248)
at android.database.AbstractCursor.moveToNext(AbstractCursor.java:280)
at com.analytics.blotout.data.database.dao.EventDao_Impl$3.call(EventDao_Impl.java:100)
at com.analytics.blotout.data.database.dao.EventDao_Impl$3.call(EventDao_Impl.java:92)
at androidx.room.CoroutinesRoom$Companion$createFlow$1$1.invokeSuspend(CoroutinesRoom.kt:122)
For JS implementation reference blotoutio/sdk-js#76
from fun mapID(userId:String?, provider:String?, withInformation:HashMap<String,Any>?):EventStatus
to fun mapID(mapIDData, withInformation:HashMap<String,Any>?):EventStatus
Vendor: Global ID
Trace : D/DependencyInjectorImpl: cannot find implementation for com.analytics.blotout.data.database.EventDatabase. EventDatabase_Impl does not exist
E/AnalyticsConfiguration: lateinit property instance has not been initialized
Partner : Global id
Reported on : 29th March 2022
Reported by : Gasper Kojek
Cause : Hi, on Android, our security analysis tool (veracode) found one possible issue with blotout encryption. It triggered a few times, most were false positives, but this is the possible issue:
EncryptionUtils.kt:292 -> Here you are using RSA without OAEP, as well as not defining which mode and padding should be used, which means that it can change based on the provider. The fix for this would be to define the transformation fully, including mode and padding, and if possible, switch to OAEP.
Now, this is not a critical issue, but the fix would be nice to have
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.