Error in Push Notification Implementation

54 views
Skip to first unread message

Dinakaran Loganathan

unread,
Sep 10, 2019, 7:22:51 AM9/10/19
to CodenameOne Discussions
Hi,

I am getting build error, error text file attached.
I don't have idea about build.gradle of app side and server side 
and also where to copy the build.gradle in the app project.

The Google services plugin for Gradle loads the google-services.json file you just downloaded. Modify your build.gradle files to use the plugin.

Project-level build.gradle (<project>/build.gradle):
buildscript {
  dependencies
{
   
// Add this line
    classpath
'com.google.gms:google-services:4.2.0'
 
}
}
App-level build.gradle (<project>/<app-module>/build.gradle):
dependencies {
 
// add the Firebase SDK for Google Analytics
  implementation
'com.google.firebase:firebase-analytics:17.0.1'
 
// add SDKs for any other desired Firebase products
 
// https://firebase.google.com/docs/android/setup#available-libraries
}






If you are experiencing an issue please mention the full platform your issue applies to:
IDE: NetBeans/Eclipse/IDEA
Desktop OS
Simulator
Device
error.txt

Steve Hannah

unread,
Sep 10, 2019, 8:26:15 AM9/10/19
to codenameone...@googlegroups.com
Thanks.  I have fixed this now, but changes won't be available until Friday.

In the meantime, choose a password for your keystore without a "$" in it.

Steve

--
You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/bf70ba12-a731-4016-9193-bdce81d2a13e%40googlegroups.com.


--
Steve Hannah
Software Developer
Codename One

Dinakaran Loganathan

unread,
Sep 12, 2019, 12:03:28 PM9/12/19
to CodenameOne Discussions
I am waiting for the solution, just reminding.
Would like to know where to copy the gradle file in the app side and server side.
JSON copied from fcm and copied the app development.
Do we need to define the gradle or not required if problem fixed which u said earlier 
can be fixed on friday.

Waiting ....

Steve Hannah

unread,
Sep 12, 2019, 12:06:44 PM9/12/19
to codenameone...@googlegroups.com
Would like to know where to copy the gradle file in the app side and server side.
copy google-services.json to native/android/google-services.json in your cn1 project.  You don't need it server side.

Do we need to define the gradle or not required if problem fixed which u said earlier 
Not required. 
can be fixed on friday.
Yes.  It is already fixed.  Will be included in update tomorrow.

Steve

Dinakaran Loganathan

unread,
Sep 12, 2019, 10:40:33 PM9/12/19
to codenameone...@googlegroups.com
Happy Morning,

At what time shall I get the updates Pl.

Thanks.

Dinakaran L
9443181845




--
You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discu...@googlegroups.com.

Dinakaran Loganathan

unread,
Sep 13, 2019, 9:55:44 AM9/13/19
to CodenameOne Discussions
Waiting to fix the issues mentioned earlier and 
confirmed would be fixed on friday,
I am waiting, pl.


On Friday, September 13, 2019 at 8:10:33 AM UTC+5:30, Dinakaran Loganathan wrote:
Happy Morning,

At what time shall I get the updates Pl.

Thanks.

Dinakaran L
9443181845




On Thu, Sep 12, 2019 at 9:36 PM Steve Hannah <steve....@codenameone.com> wrote:

Would like to know where to copy the gradle file in the app side and server side.
copy google-services.json to native/android/google-services.json in your cn1 project.  You don't need it server side.

Do we need to define the gradle or not required if problem fixed which u said earlier 
Not required. 
can be fixed on friday.
Yes.  It is already fixed.  Will be included in update tomorrow.

Steve

--
You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsub...@googlegroups.com.

Dinakaran Loganathan

unread,
Sep 13, 2019, 10:40:09 PM9/13/19
to CodenameOne Discussions
Happy Morning,

Still getting error while building the apk,
as mentioned earlier it would be fixed on Friday.
But still I am getting error, pl.look on to it.
Thank You

Steve Hannah

unread,
Sep 13, 2019, 11:06:35 PM9/13/19
to codenameone...@googlegroups.com
If you change your password to something without a $,  does it work?

To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discu...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/ae38aae7-1818-42e8-9b8b-36aa3574ba72%40googlegroups.com.

Dinakaran Loganathan

unread,
Sep 13, 2019, 11:36:00 PM9/13/19
to codenameone...@googlegroups.com
Where is the password, I have not defined password anywhere - can’t understand pl.

Sent from my handheld device.

Shai Almog

unread,
Sep 14, 2019, 12:47:35 AM9/14/19
to CodenameOne Discussions
I'm not sure that fix made it. I don't see it in build daemon.
He's talking about the keystore password for the certificate.

Shai Almog

unread,
Sep 14, 2019, 12:53:52 AM9/14/19
to CodenameOne Discussions
Sorry I see that fix it should be there. We'll need a fresh link to the error log.
Reply all
Reply to author
Forward
0 new messages