Skip to content
This repository has been archived by the owner on Apr 11, 2022. It is now read-only.
/ UbMessenger Public archive

An un-official fb messenger Ubuntu Touch client

License

Notifications You must be signed in to change notification settings

henri2h/UbMessenger

Repository files navigation

UbMessenger (Experimental)

FOSSA Status

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.

Working :

  • 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

Project setup

yarn install

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

Lints and fixes files

yarn lint

Customize configuration

See Configuration Reference.

Plugins used :

Ubuntu touch :

Build and deploy to device

yarn run build-ubtouch
cd src-ubuntu-touch
clickable

Cross platform : Cordova : (copied from the cordova plugin readme)

This project support cross platform build using cordova. Not the primary focus but, hey, we can do it !

Usage

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

IMPORTANT

  • 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)

License

FOSSA Status

About

An un-official fb messenger Ubuntu Touch client

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published