Ionic 2 rc.2 & socket.io - chat

preview_player
Показать описание


Github

Your system information:

cordova CLI: 6.3.1
Ionic Framework Version: 2.0.0-rc.2
Ionic CLI Version: 2.1.8
Ionic App Lib Version: 2.1.4
Ionic App Scripts Version: 0.0.43
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 8.1
Node Version: v5.1.0
Xcode version: Not installed

Рекомендации по теме
Комментарии
Автор

Good job dude! Very helpful tutorial!
For all wondering about server side code:
Open the folder in the console and run:
- npm install
- npm start
then restart the ionic project with ionic serve and it should work smoothly!

johnnyfittizio
Автор

Thank you for such a helpful tutorial! Amazing work! :)

BaSs_HaXoR
Автор

Mau nanya apakah jnengan yg aseli ne saking kabupaten batang Pekalongan pokk masa Ardy ??

wongpekalongan
Автор

Hi Ardy Him and thanks for the tuto, I want to ask something about the server side, I make a put the server side into a windows server 2012 and make a build into Android apk, and use the domain and port from my windows server, but I have the same error when you run the first time the example, but if I run from my local host to the Windows server it works but not with my apk app into my phone, do you know what's going on with? Thanks by the way

cristianpaolocoradocordero
Автор

Where is the sound? How can i understood what are you doing.

ThunderBirdsNoXIIV
Автор

Hi, thank you for great tutorial! One thing to clarify: in 18:16 we can see, that you have an error in your console. After a pause and changing logical statement for [disabled] error has gone. Obviously, it is not the [disabled] directive caused that error. So how did you manage to get rid of error?

pipchenko
Автор

_Error in ./HomePage class HomePage - inline template:__11:13__ caused by: Cannot read property 'username' of undefined_

My code is exactly the same as yours, it is defined in the class but it still says undefined.

BrainBUG
Автор

great explanation. how can i do it with firebase? instead of the socketHost i need to put the details of my firebase reference?

maddihanna
Автор

How to run server side code?
I have downloaded it from github link and used command "npm start"
But Server side code does not work

tushar
Автор

i want the chat to be between only two people only NOT A GROUP CHAT. Who can help me ? Am in dire need of help

leonlishenga
Автор

How to run server side? :: i get code from Github but i can't run it. :)

น่านเจ้าพ
Автор

Runtime Error

I am getting this error

priyankamali
Автор

229/5000 Request
from another blocked source: the same source policy prevents reading
the remote resource at http: // localhost: 8080 / socket.io /? EIO = 3
& transport = polling & t = LkdXAPP (reason: missing CORS
'Access-Control-Allow header -Origin ').

RicardoRodriguez-zggw