This is a port of messenger to ubunut touch.
WARNING : this project use a custom bridge in order to connect to messenger and use push notification.
- Display convertations list
- Display converation content
- Display images
- Display reaction
- Set reactions
- Send read indication
- Send typing indication
- Send text messages
- Reply to message
- Send pictures messages
- Push notification : work in progress, partially implemented
- Add/remove user to/from a conversation
- Set conversation title
yarn install
yarn serve
yarn build
yarn lint
yarn run build-ubtouch
cd src-ubuntu-touch
clickable
This project support cross platform build using cordova. Not the primary focus but, hey, we can do it !
Prepare
$ npm run cordova-prepare # prepare for build (you can run this command, when you checkouted your project from GIT, it's like npm install)
Android
$ npm run cordova-serve-android # Development Android
$ npm run cordova-build-android # Build Android
$ npm run cordova-build-only-www-android # Build only files to src-cordova
IOS
$ npm run cordova-serve-ios # Development IOS
$ npm run cordova-build-ios # Build IOS
$ npm run cordova-build-only-www-ios # Build only files to src-cordova
OSX
$ npm run cordova-serve-osx # Development OSX
$ npm run cordova-build-osx # Build OSX
$ npm run cordova-build-only-www-osx # Build only files to src-cordova
Browser
$ npm run cordova-serve-browser # Development Browser
$ npm run cordova-build-browser # Build Browser
$ npm run cordova-build-only-www-browser # Build only files to src-cordova
-
Path rewriting etc does not work under Cordova, that's why it's important to use router 'hash' mode, if you run or build for Cordova. history mode does not work! The plugin already tries to fix this automatically...
-
Assets and Scripts in vue's public folder need to have a dynamic path, because depending on dev or production build, you have different bases. In dev it's normally '/' and in production it's 'file:///android_asset/www/'. In other words, if you have i.e. an image under 'public/images/me.jpg', the relative url would be img='images/me.jpg'
-
You need some experience with Cordova, to solve many issues, like having the right Java JDK, Android SDK, XTools, Signing an App, Publishing an App etc. If you encounter issues related to Cordova etc, please don't post them this issue tracker.
-
If you are upgrading from an older release, please add
<hook type="after_prepare" src="../node_modules/vue-cli-plugin-cordova/serve-config-hook.js" />
to your config.xml -
The devserver will run under https from now on, so make sure your rest & api endpoints are available under https, and have a correct CORS setup)