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

Push Notifications #35

Open
kabinud opened this issue Mar 31, 2014 · 68 comments
Open

Push Notifications #35

kabinud opened this issue Mar 31, 2014 · 68 comments

Comments

@kabinud
Copy link

kabinud commented Mar 31, 2014

Should I use the provided Push Notification file or should I create my own? And how do I get it to work?

@TTMTT
Copy link
Contributor

TTMTT commented Mar 31, 2014

@kabinud
you can use your push notification
if you have ios app:
https://blog.serverdensity.com/how-to-build-an-apple-push-notification-provider-server-tutorial/

android app:
go to http://console.developers.google.com
1- Create Project.

2- APIs & auth -> API [On] for (Google Cloud Messaging for Android) and (Google Maps Android API v2).

3- if you have eclipse go to (Windows -> Preferences -> Android -> Build) copy SHA1 fingerprint.

4- APIs & auth -> Credentials (Create new key [Android key]) add your SHA1 fingerprint and your project name example:
45:B5:E4:6F:36:AD:0A:98:94:B4:02:66:2B:12:17:F2:56:26:A0:E0;com.cloverstudio.spika

5- Project Number = PUSH_SENDER_ID in /src/com/cloverstudio/spika/utils/Const.java

6- (Key for browser applications-API key) = GCM_API_KEY in spika backend(server) /config/init.php

@ScriptBoxx
Copy link

@TTMTT
Still not working the Notifications... Do you have any fixxes?

@kabinud
Copy link
Author

kabinud commented Mar 31, 2014

I read the document and I get it. I have already created my own certificate for push notifications and I placed on server and changed init.php but I am not able to get the chats to happen with instant responses (still have to manually refresh).

I looked through the code and noticed in HUPushNotificationManager.m there is a line 56

serialQueue = dispatch_queue_create(“com.clover-studio.hookup.PushSerialQueue”, NULL);

Should I change this to something local to my server?

On Mar 31, 2014, at 1:00 AM, Magd Almuntaser notifications@github.com wrote:

@kabinud
you can use your push notification
if you have ios app:
https://blog.serverdensity.com/how-to-build-an-apple-push-notification-provider-server-tutorial/

android app:
go to http://console.developers.google.com
1- Create Project.

2- APIs & auth -> API [On] for (Google Cloud Messaging for Android) and Google Maps Android API v2.

3- if you have eclipse go to (Windows -> Preferences -> Android -> Build) copy SHA1 fingerprint.

4- APIs & auth -> Credentials (Create new key [Android key]) add your SHA1 fingerprint and your project name example:
45:B5:E4:6F:36:AD:0A:98:94:B4:02:66:2B:12:17:F2:56:26:A0:E0;com.cloverstudio.spika

5- Project Number = PUSH_SENDER_ID in /src/com/cloverstudio/spika/utils/Const.java

6- (Key for browser applications-API key) = GCM_API_KEY in spika backend(server) /config/init.php


Reply to this email directly or view it on GitHub.

@TTMTT
Copy link
Contributor

TTMTT commented Mar 31, 2014

@kabinud
@ScriptBoxx
Contact me via email

@kabinud
Copy link
Author

kabinud commented Mar 31, 2014

What's your email?

On Monday, March 31, 2014, Magd Almuntaser notifications@github.com wrote:

@kabinud https://github.com/kabinud
@ScriptBoxx https://github.com/ScriptBoxx
Contact me via email

Reply to this email directly or view it on GitHubhttps://github.com//issues/35#issuecomment-39127156
.

@TTMTT
Copy link
Contributor

TTMTT commented Mar 31, 2014

@kabinud
Copy link
Author

kabinud commented Mar 31, 2014

Problem solved. Thank you for your help @TTMTT

@JamieDavis
Copy link

@TTMTT Thanks allot for all your help tonight, problem all sorted, cheers :)

@jehadxx
Copy link

jehadxx commented Apr 14, 2014

what is Notification Endpoints on Google API -> Push section ???

@jehadxx
Copy link

jehadxx commented Apr 17, 2014

Thank you very much @TTMTT you was much great !
hope you prefect day and health !

@iamthenewking
Copy link

@TTMTT i read all the comments and made everything on the tutorial but it does't work.. please help

@iamthenewking
Copy link

still not working :(

@TTMTT
Copy link
Contributor

TTMTT commented May 4, 2014

@iamthenewking
ok, send msg to my email ..

@iamthenewking
Copy link

Hi what seem to be the problem? I did everything in you tutorial but still
push notifications is not showing up
On May 4, 2014 9:06 PM, "Magd Almuntaser" notifications@github.com wrote:

@iamthenewking https://github.com/iamthenewking
ok, send msg to my email ..


Reply to this email directly or view it on GitHubhttps://github.com//issues/35#issuecomment-42132506
.

@pinoro
Copy link

pinoro commented May 7, 2014

Hi
I also tried 1-6 tutorial, but still push notifications is not working.

@sam35
Copy link

sam35 commented May 7, 2014

Hi,
i tried everything , push notifications working for few days and now suddenly it stops working ?
can you help ?

@TTMTT
Copy link
Contributor

TTMTT commented May 8, 2014

@iamthenewking
@pinoro
@sam35
Hello,
Send a msg to me email..

@ipangsan
Copy link

@TTMTT

Please check your email, i`ve already sent about this error..

Regards

@pinoro
Copy link

pinoro commented May 15, 2014

Push notifications is working.
Thank you @TTMTT for your advice.

For your information, I modified your tutorial 6.
6- (Key for server key) = GCM_API_KEY in spika backend(server) /config/init.php

@TTMTT
Copy link
Contributor

TTMTT commented May 16, 2014

@pinoro
You are welcome ..

@iamthenewking
Copy link

Hi I just sent you an email.. tnx
@TTMTT

@ipangsan
Copy link

@TTMTT

Push Notif is still not working also forgot password. i have try with pinoro advice as change GCM API KEY with server. please advice

Regards

@TTMTT
Copy link
Contributor

TTMTT commented May 16, 2014

@ipangsan
Your username and password is default..
I sent your info to ur email ..

don't change GCM API KEY

@ipangsan
Copy link

@TTMTT

Dear Almunsater... Thank Yooouuu Very-very much... now notification is work..

and how to see configuration email for forgot password.?

@TTMTT
Copy link
Contributor

TTMTT commented May 16, 2014

@ipangsan
You are welcome..
you can edit database for reset password or from app (forgot password?)
if you mean (main email when website sent msg to user) edit init.php file.

@THEDOWNCOUNTRY
Copy link

Hello Guys i try all those steps above to set the real time messaging and push notification i have no good result i try writing TTMTT by email still no response. can i get some help please.

@TTMTT
Copy link
Contributor

TTMTT commented May 18, 2014

@THEDOWNCOUNTRY
Hello,
I sent msg to you ..

@THEDOWNCOUNTRY
Copy link

@TTMTT

Hi,

You sent message by email?

@THEDOWNCOUNTRY
Copy link

@TTMTT i just got the info let me send u those info.

@TTMTT
Copy link
Contributor

TTMTT commented Jul 7, 2014

@songseungyul
No, this my email:
ttmtt-team@hotmail.com

@GW2-SunkenSkull
Copy link

I have sent you an email as i have followed these instructions but still not working for me.

@videre
Copy link

videre commented Aug 29, 2014

Hi I’ve installed Spika backend server, created 2 test accounts and have the push tokens for the devices.

For the client, i’ve installed the iOS app Spika from the AppStore, on both my iPhones. I’ve tried chatting and it only refreshes when i click in to the chat. I can’t get the push notifications to work.

For the server, under files, i’m using the Github clone PEM files that you provided. Do i need to make my own PEM files or are those fine?

Please help, thanks in advance for an awesome open source solution :)

@videre
Copy link

videre commented Sep 1, 2014

I've sent an email to ttmtt-team@hotmail.com 3 days ago but no reply? Please help.

@videre
Copy link

videre commented Sep 1, 2014

Got it to work finally! Found where the code died by turning on debug and modified 1 line on AsyncTaskController.php and my push notifications worked!

@burakkya
Copy link

burakkya commented Sep 3, 2014

@videre how to solve the push notification problem ?

@kazz2009
Copy link

kazz2009 commented Sep 6, 2014

@videre your chat is realtime ? android ones . when someone types smthing to you , your chat autoreload?

@videre
Copy link

videre commented Sep 6, 2014

Yes

Sent from my iPhone

On 6 Sep, 2014, at 6:06 pm, kazz2009 notifications@github.com wrote:

@videre your chat is realtime ? android ones . when someone types smthing to you , your chat autoreload?


Reply to this email directly or view it on GitHub.

@kazz2009
Copy link

kazz2009 commented Sep 8, 2014

@videre could you please explain to us how you did it ? my chat isn't autoreloading , it shows notifications and autoreload only when i type something to the webchat user .

It doesn't auto push'em .

We really need a tutorial about this push system

@burakkya
Copy link

@videre can you help?

@Humbledonk
Copy link

I can't get this to work, I've completed the 6 steps but the push doesn't happen.

I really need some help.

Is the SPika android app only suppose to have the Project Number:inside or am I missing something?

The server key I have put in init.php, is that correct?

@Humbledonk
Copy link

@TTMTT I need your help on this, please.

@Humbledonk
Copy link

@TTMTT I can pay for your help of course.

@quinnsoft
Copy link

I can not set it up correctly. It seems the step 5 and step 6 should be wrong. Can you help?

@TTMTT
Copy link
Contributor

TTMTT commented Sep 19, 2014

@Humbledonk
thank you, i don't need anything.. i will help you (FREE) just send msg to my email :
ttmtt-team@hotmail.com

@kralex10
Copy link

@TTMTT can you help me for same problem.i did all off 6 steps but push not working.

@quinnsoft
Copy link

@TTMTT Please update a full tutorial here. I think a lot of people have the same problem.

@Humbledonk
Copy link

@TTMTT Thanks for your answer and I have now replied from 2 email addresses, I suspect my emails sometimes go in the junk folder so please check there if you don't receive any in your inbox.

Best regards

@burakkya
Copy link

@Humbledonk can u explain how to solve when fix the problem.

@kralex10
Copy link

please anyone help me where im doing mistake,i try again and again this totarial but not worked...

@quinnsoft
Copy link

Nobody solve the problem.

@selvamurali
Copy link

yes

@mediakliq
Copy link

@TTMTT I emailed you as well trying to get push working I think it's either vendor or mod_rewrite issue please respond with how to fix this issue ... Thanks

@rajesh-h
Copy link

@TTMTT
@kabinud
@ScriptBoxx
@jehadxx
@iamthenewking
@pinoro
@sam35
@ipangsan

Guys can you please help us who are suffering to get the push notification work on Spika.

@vijaymuddu
Copy link

we are facing push notification on spika i need to refresh page manually to view new messages
please can anybody guide us to fix this issue..

@selvamurali
Copy link

all of struck here only

Selva.Murali | Visual Media Technologies | Your Dreams Visual Here

Mobile : +91-99430-94945/
Mail ID :- murali@visualmediatech.com Murali@visualmediatech.com |
visualmediatech.com

www.Rupeeshost.com | www.CloudsIndia.in| Cloud Hosting Providers | VPS|
Cloud|

DoveMail | Bulk mailing Solutions | Voice mail Solutions

Technet24x7.com | Technical Support & Call Center support

CPAD - Low Cost Tablet PC Sellers | WWW.CPADINDIA.COM

On Mon, Jan 12, 2015 at 1:59 PM, vijaymuddu notifications@github.com
wrote:

we are facing push notification on spika i need to refresh page manually
to view new messages
please can anybody guide us to fix this issue..


Reply to this email directly or view it on GitHub
#35 (comment)
.

@mediakliq
Copy link

This has been an issue for awhile now and no one seems to have a solution and no words or response from the company! I don't understand I think they want money.

Sent from my iPhone

On Jan 12, 2015, at 12:29 AM, vijaymuddu notifications@github.com wrote:

we are facing push notification on spika i need to refresh page manually to view new messages
please can anybody guide us to fix this issue..


Reply to this email directly or view it on GitHub.

@vijaymuddu
Copy link

we want to send email from spika-server for using forgot password service, how can we do it
does anybody did this
we are using postfix on spika-server with ubuntu 14

@hyamaguchi1125
Copy link

Hi,

I'm under same condition which real time chat doesn't work, but should I wait for new version of Spika come to market ?

f063a34

This README said, the new version would be launched on August.2015, and they have stopped to develop current spika server.

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