These are chat archives for angular/angular-2-ionic-2

23rd
Apr 2016
Asanka Jayasundara
@asanka94
Apr 23 2016 02:59 UTC
Hello everyone.. Im new to IONIC .I have to make a chat for my project. 1 to 1 mostly.
i have seen using socket.io and using some other ways.. Which is the best to implement?
Ionic chat using firebase or using socket.io
?
V
G
cesco
@cescoferraro
Apr 23 2016 16:03 UTC
@asanka94 firebase is a socket.io ready database. I do not need to do anything other than using to have socket.io functionality.
Asanka Jayasundara
@asanka94
Apr 23 2016 17:39 UTC
@cescoferraro im new to ionic. I have to make a one to one chat and public chat in my app. What is the best option to go with?
cesco
@cescoferraro
Apr 23 2016 19:09 UTC
@asanka94 I like firebase
Does anyone know how to setup Ionic2 project to build on INtellijIDEA. I can do it with Android studio,.
intellij.png
the error
`
04-23 16:12:54.977 5162-5162/? I/art: Not late-enabling -Xcheck:jni (already on) 04-23 16:12:55.016 5162-5162/com.ionicframework.bruna877989 W/System: ClassLoader referenced unknown path: /data/app/com.ionicframework.bruna877989-1/lib/x86_64 04-23 16:12:55.018 5162-5162/com.ionicframework.bruna877989 D/AndroidRuntime: Shutting down VM 04-23 16:12:55.018 5162-5162/com.ionicframework.bruna877989 E/AndroidRuntime: FATAL EXCEPTION: main Process: com.ionicframework.bruna877989, PID: 5162 java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.ionicframework.bruna877989/com.ionicframework.bruna877989.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "com.ionicframework.bruna877989.MainActivity" on path: DexPathList[[zip file "/data/app/com.ionicframework.bruna877989-1/base.apk"],nativeLibraryDirectories=[/data/app/com.ionicframework.bruna877989-1/lib/x86_64, /vendor/lib64, /system/lib64]] at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2327) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476) at android.app.ActivityThread.-wrap11(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5417) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) Caused by: java.lang.ClassNotFoundException: Didn't find class "com.ionicframework.bruna877989.MainActivity" on path: DexPathList[[zip file "/data/app/com.ionicframework.bruna877989-1/base.apk"],nativeLibraryDirectories=[/data/app/com.ionicframework.bruna877989-1/lib/x86_64, /vendor/lib64, /system/lib64]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) at java.lang.ClassLoader.loadClass(ClassLoader.java:511) at java.lang.ClassLoader.loadClass(ClassLoader.java:469) at android.app.Instrumentation.newActivity(Instrumentation.java:1067) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2317) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476) at android.app.ActivityThread.-wrap11(ActivityThread.java) at android.app.Activi