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
In version 6.38.1, push is is supported for message center cache
It added two new tables(InboxMessage & FormLink) to support this feature. This feature is great, but what a pity, they forget to do database migration.
If you upgrade your sdk version to this new version, you can't fetch any messages from message center because no data in the two tables.
Here are the best way to solve this problem:
Upgrade their database from version 1 to version 2
Add two lines following to public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) method in PIODBStore
PushIOManager database upgrade issue
In version
6.38.1
, push is is supported formessage center cache
It added two new tables(InboxMessage & FormLink) to support this feature. This feature is great, but what a pity, they forget to do database migration.
If you upgrade your sdk version to this new version, you can't fetch any messages from message center because no data in the two tables.
Here are the best way to solve this problem:
public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion)
method inPIODBStore
What's more
If you are using 6.38.1 right now, here are some hack code to do this
Hack code
You need to call
PushIODBStoreRepo(context).createCacheTables()
After you
registerApp
in your databaseThe text was updated successfully, but these errors were encountered: