Professional Documents
Culture Documents
Flutter Webview App
Flutter Webview App
f. EXAMPLE:
3. there must be an option to disable the login screen if i want, and go directly from the
splash screen to the webview screen
4. The Webview will have a default URL to open, it has to be easy to modify this URL in
code.
5. The Webview has to “feel similar” to the chrome app, with features like
a. Pull down to refresh
b. back button goes back to the previous page.
c. remember logins in webpages, for example in some pages made with
wordpress you have to fill forms with your info, or you can login/register to
wordpress with a username, i would like this info to be remembered if the
user closes and opens the app again.
d. internet detection in case there is a problem with wifi or 4g connection, if it
can detect webpage’s 404 errors and 500 errors would be nice, but it’s not
very important.
6. Push notifications with title, description and the option to show a photo.
7. Example
8. The Dashboard is a webpage made in PHP / MySQL i will have in my hosting. I will
provide a nice html template that i bought so i can have a beautiful design, you will
modify this template and add the php code. In the dashboard i can login with my
email/password and i will see a webpage with:
a. section with a list of the users that have installed my app, Name, email and
avatar photo (taken from the facebook/google/twitter profile, depends what
they used to login in the app), maybe some additional info taken from
OneSignal.
b. section with segments or groups, here i can create a group, and drag and
drop users to that group.
c. section to create messages, here i will enter a title a description, an optional
photo, an optional URL, and a destination.
d. if the optional URL is filled, when the user receives the notification in his
phone and taps the notification, the app will open and the webview will show
him that url.
e. the destination of the notification can be:
i. send to all users
ii. send only to this group
iii. send only to this user devices.
iv. i know that OneSignal has some default segments named Subscribed
Users - All users in your app that are subscribed to receive
notifications
v. Active Users - Users that have logged in to your app/site recently
vi. Engaged Users - Users that have logged in to your app/site frequently
vii. Inactive Users - Users that have not logged in to your app/site for a
long time
viii.
ix. when i click send message, it will connect to the OneSignal API or
Firebase notifications API and post the info.
x. the message will be saved in the section called past messages.
xi. the dashboard could look something similar to this:
xii.
9. Important Notes:
a. if the user logins from other devices like a tablet or a second phone the push
notification must be sent to the tokenid of all devices, because each device
will have it’s unique token id, but all this tokens will be linked to the same
email address (that was retrieved from the social login or email login and
stored in the database)
b. if the users does a factory reset of the phone, when he installs and logins
again the info must be updated in the database, be careful not to create a
new user because the user already existed.