You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Chuck works perfect with single-process. But when coming to multi-process, it crashes.
The cause is ChuckContentProvider.TRANSACTION_URI. In another process, Conprovider.attachInfo(Context, ProviderInfo) seems to be not called, thus ChuckContentProvider.TRANSACTION_URI gets null. If we make a request in another process, NullPointerException occurs while saving data into database.
The text was updated successfully, but these errors were encountered:
@ckjoker It seems that the author has no intent to support multi-process. I use chuck with source code instead of aar from maven, and I change some code. The value of ChuckContentProvider.TRANSACTION_URI is assigned with my package name when declared. So whether ContentProvider.attachInfo(Context, ProviderInfo) is called or not doesn't matter.
Chuck works perfect with single-process. But when coming to multi-process, it crashes.
The cause is
ChuckContentProvider.TRANSACTION_URI
. In another process,Conprovider.attachInfo(Context, ProviderInfo)
seems to be not called, thusChuckContentProvider.TRANSACTION_URI
gets null. If we make a request in another process, NullPointerException occurs while saving data into database.The text was updated successfully, but these errors were encountered: