tony---zhang / pushiomanager_android Goto Github PK
View Code? Open in Web Editor NEWThis project forked from skynet/pushiomanager_android
License: Other
This project forked from skynet/pushiomanager_android
License: Other
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:
public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion)
method in PIODBStore
db.execSQL("CREATE TABLE InboxMessage (id TEXT PRIMARY KEY NOT NULL, subject TEXT, message TEXT, icon_url TEXT, message_center_name TEXT, deeplink_url TEXT, richmessage_html TEXT, richmessage_url TEXT, sent_ts TEXT, expiry_ts TEXT, user_id TEXT, device_id TEXT, expiry_datetime TEXT, fetch_datetime TEXT)");
db.execSQL("CREATE TABLE FormLink (messageID TEXT PRIMARY KEY REFERENCES InboxMessage (id), form_link TEXT, expiry_datetime TEXT)");
You need to call
PushIODBStoreRepo(context).createCacheTables()
After you registerApp
in your database
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.