Yahya
Posts: 0
Joined: Tue Nov 11, 2014 1:08 pm

Custom push notification stopped

Dear Serhii

Good day,
This is the firebase SDK,

{
"type": "service_account",
"project_id": "almozon-1488133676813",
"private_key_id": "4441edcc73282e8e3f2a76a838f0c8bd87f8ec8d",
"private_key": "I remove it",
"client_email": "a href="mailto:firebase-adminsdk-lr0oc@almozon-1488133676813.iam.gserviceaccount.com" rel="nofollow"firebase-adminsdk-lr0oc@almozon-14881.../a",
"client_id": "109177874756797735537",
"auth_uri": "https://accounts.google.com/o/oauth2/...",
"token_uri": "https://accounts.google.com/o/oauth2/...",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/...",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/m..."
}

kindly check and update

Yahya
Posts: 0
Joined: Tue Nov 11, 2014 1:08 pm

Custom push notification stopped

dears,

is there any thing you still need from me to look at this issue..?

Yahya
Posts: 0
Joined: Tue Nov 11, 2014 1:08 pm

Custom push notification stopped

good day,

any update..?

Yahya
Posts: 0
Joined: Tue Nov 11, 2014 1:08 pm

Custom push notification stopped

any update..?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Custom push notification stopped

Hello Yahya,

Sorry for the radio silence. Unfortunately, this seems to be the bug. We reported it and passed it to our development team, it is working on it. We'll get back to you with the update soon.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Custom push notification stopped

Hello,

Google updated rules for the custom sound for Android 8.0+ devices. Now you have to set a channel for that.

You can use the following workaround:

  1. Add code below on the push init event of your project:

    prePushNotification.createChannel(
    function(){
    console.log('success');
    },
    function(){
    console.log('error');
    },
    {
    id: 'testchannel1',
    sound: "sound1",
    description: 'My first test channel'
    }
    );/pre
    here - "sound1" - a name of your "wav" file without ".wav"

  2. Add preandroid_channel_id/pre in your Push Notifications send tab:

    Image
    Please click on the "Advanced settings" button to open this panel

  3. Now you can test a custom sound. Kindly let us know the result.

Yahya
Posts: 0
Joined: Tue Nov 11, 2014 1:08 pm

Custom push notification stopped

Good day
Thank you for your support, when I add the code to the initial push of the page I got syntax error while compling and generating the apk.
Image

Can you please check why I am getting the below error..

Image

Here is the line the error pointing to in the login page

Image

Thank you.

Galyna Abramovych
Site Admin
Posts: 84
Joined: Tue Mar 22, 2016 6:03 pm

Custom push notification stopped

Could you please contact us directly via email a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a with sharing your app so that we could review the build for you?

Return to “Issues”