Why Push Notification is not working on Android? - gluon

I had push notifications working some time ago, but it is not working anymore.
Is there any issue with Android 8.0?
I did not change the AndroidManifest.xml since the last working version and I checked up the http://docs.gluonhq.com/samples/pushnotes example again.
When sending the message and running the logcat I get the following error message:
No Channel found for pkg=[myPackageName], channelId=null, id=123456, tag=null, opPkg=[myPackageName], callingUid=10298, userId=0, incomingUserId=0, notificationUid=10298, notification=Notification(channel=null pri=2 contentView=null vibrate=default sound=null defaults=0x2 flags=0x10 color=0x00000000 category=event vis=PUBLIC)
This one too:
The Google Play services resources were not found. Check your project configuration to ensure that the resources are included
Any help appreciated!

Related

Quickblox.sdk GetBaseSession() method throws "nonce is required" error

I have used quickblox chat sdk in my old xamarin.forms project. I know that quickblox is not supporting xamarin now, but old sdk was working fine till now, but from last week I am getting this error.
Code:
var baseSesionResult = await Provider.QbProvider.GetBaseSession();
When I am calling QbProvider.GetBaseSession() it throws below error:
CONTENT: {"errors":{"base":["nonce is required"]}}
I have tried different methods available in sdk but none is working. Any one know how to fix this error?
This is Nikolay from QuickBlox support.
Please add "" symbols around nonce and timestamp values and check if the issue is resolved.
The same information is mentioned in our documentation: https://docs.quickblox.com/reference/authentication#create-session
We released a patch for authentication that improves validation according to our documentation.
Hence, the issue is caused by incorrect implementation in the application that is why the server has started showing errors for submitted requests.

Unable to publish Bot Composer in azure

I built my bot using Bot Framework Composer 2.1 and everything looked nice in the design process, however, when I was about to publish it I got the following message:
Provision failure
{"name":"CREATE_APP_REGISTRATION","message":"App create failed! Please file an issue on Github.","stack":"Error\n at new CustomizeError (\\resources\\app.asar.unpacked\\extensions\\azurePublish\\dist\\extension.js:269071:25)\n at createCustomizeError (\\resources\\app.asar.unpacked\\extensions\\azurePublish\\dist\\extension.js:269076:10)\n at BotProjectProvision.createApp (\\resources\\app.asar.unpacked\\extensions\\azurePublish\\dist\\extension.js:270566:17)"}. See provision.botazure.log in your bot folder
Anyone happens to know how to sort this issue out?
This is a bug and is being tracked here.

tns preview doesn't work doe to unexpected token

Project successfully prepared (ios)
Start sending initial files for device iPhone.
Successfully sent initial files for device iPhone.
SyntaxError: Unexpected token < in JSON at position 0
at JSON.parse ()
at PreviewSdkService. (/usr/local/lib/node_modules/nativescript/lib/services/livesync/playground/preview-sdk-service.js:100:43)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/nativescript/lib/services/livesync/playground/preview-sdk-service.js:4:58)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
hey i have exact the same error on same position in preview-sdk-service.js i reinstalled everything with no errors but still the same. i contacted the support, when i get an answer i will let you know. i have also problems with playground today it will not load correctly on my device. btw yesterday it worked like a charm.
---------SUPPORT ANSWER--------------
"we are migrating the auth to use Firebase and looks like couple things are still propagating. An engineer is working on this and should be resolved by Monday"
so its not a user mistake and we can just wait and hope they can fix it quickly.
I'm running into this exact issue at the moment. Even started a new template using the Angular CLI command:
ng new --collection=#nativescript/schematics my-mobile-app
From the site:
Angular CLI support
The initial template seem to work but after adding some custom modules this started happening. Running on a Android Virtual Device works.
I've been looking for a solution and the issues seems to ga back as far as 2018 so i'm not sure if this is even een NativeScript issues of a dev environment issues not being setup correctly.

There was an error completing your request-google-home simulator page issue

I have try to test my project in google home simulator. up to yesterday it was working but today it is showing error "There was an error completing your request"
URL: "https://console.actions.google.com/project/tell-you-profile/simulator/"
I was just having the same issue starting my simulator. The problem was: I was signed into Google Chrome, with my other (personal) email address. Once I went to cloud.google.com, signed out, and signed back in with the account that matched the needed user for the Cloud Services, the simulator loads fine.
This was my simulator issue (just to confirm):
Most times this error is caused by an error in your fulfillment server. Check your code to make sure it compiled or is interpreted correctly and then check your logs for any errors.

Android error: Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE]

I'm getting this error and don't know how to fix this:
When trying to run an Android app on a real device (NEXUS4(rooted) in my case) I'm getting the following error in the Console:
pkg: /data/local/tmp/test.apk
Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE]
I've try to google this error and have got some solutions:
Delete the source with "android.uid.system".
->The error fixed but I need to use SharedUserID for system permission so I can't take this.
Use platform.pk8 and platform.x509.pem from "build\target\product\security" to signature my app.
->Same error occured.
Add my own UID(the xml below(copied from system)) into packages.xml and reset.
->The app disappeard from my phone after reset. I've no idea why I can't see it.
<shared-user name="android.uid.cc" userId="10910">
<sigs count="1">
<cert index="2" />
</sigs>
<perms>
...
</perms>
</shared-user>
None of these solutions solved the problem.
My andriod version is 4.4.2.
Any help would be greatly appreciated! Thanks.
In other answer INSTALL_FAILED_SHARED_USER_INCOMPATIBLE while using shared user id they describe to do:
I got the solution for now .I followed the steps as follows
1) Removed existing application (if it is already installed )
2) Removed share user ID from android manifest
3) Bulid the application.
4) Now enter share user ID again
5) build the application 1 more time
and It works !!!
Thanks to Hemant
I met this error too, when run application show a dialog, most message is saying
INSTALL_FAILED_SHARED_USER_COMPATIBLE
Except this error above you mentioned, and another error in my logcat is:
Error using StatusBarManagerService - java.lang.SecurityException on android.permission.STATUS_BAR
Lastly, add platform debug key fixed it.

Resources