Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use this plugin with cordova/ionic 2 #85

Open
Cempakers87 opened this issue Apr 10, 2017 · 1 comment
Open

How to use this plugin with cordova/ionic 2 #85

Cempakers87 opened this issue Apr 10, 2017 · 1 comment

Comments

@Cempakers87
Copy link

Hi, is there any example to use this with cordova/ionic 2?

@vochicong
Copy link

Hi @Cempakers87, I have the same question 👍

A little research shows that the default FirechatUI depends heavily on jQuery (#29, #40, #46),
and jQuery conflicts with Angular which is integrated into Ionic.

So the tasks may be

  • Get rid of FirechatUI from Firechat
  • Build the Ionic version of FirechatUI
  • Connect the two above

From Firechat docs:

To get started with a new UI layer, create a directory for your new interface under the layouts directory, using the name of your new interface.
Next, create a primary JavaScript interface for your UI using the name firechat-ui.js, and add styles, layouts, and templates following the same convention as the default layout.
Lastly, begin hooking into the Firechat API, detailed below, using the exposed methods and defined bindings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants