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

Not working with nativescript-baidu-push-notifications #27

Closed
jibon57 opened this issue Feb 2, 2020 · 9 comments
Closed

Not working with nativescript-baidu-push-notifications #27

jibon57 opened this issue Feb 2, 2020 · 9 comments
Assignees
Labels
bug Something isn't working

Comments

@jibon57
Copy link

jibon57 commented Feb 2, 2020

Hello,

I am having following problem with nativescript-baidu-push-notifications

Screen Shot 2020-02-02 at 9 48 10 PM

Thanks

@darind
Copy link
Collaborator

darind commented Feb 2, 2020

@jibon57, can you share a sample project exhibiting this error?

@jibon57
Copy link
Author

jibon57 commented Feb 3, 2020

Thanks for reply. Can I get your email address please? I'll send you source code of my project. You can check demo project of that repo. Having same error on that too.

@darind
Copy link
Collaborator

darind commented Feb 3, 2020

@jibon57, you can send me the project at darin.dimitrov@progress.com

@jibon57
Copy link
Author

jibon57 commented Feb 3, 2020

@darind , thanks. I have sent you an email

@darind
Copy link
Collaborator

darind commented Feb 4, 2020

I have tried running your app with the latest available fixes and it doesn't seem to crash on the device. I also got the SUCCESSFULLY REGISTER BAIDU PUSH NOTIFICATION message logged after allowing the app to receive push notifications.

Could you verify if the app is still crashing and if yes, what are the exact steps? Maybe I need to somehow trigger a push notification to be sent while the app is not running?

@jibon57
Copy link
Author

jibon57 commented Feb 4, 2020

@darind thank you! Yes, from device it's working. Sorry, I was testing from simulator. But if you try with default ios runtime then you will get some error message if you are using simulator. But using this runtime it will crash the APP.

@jibon57 jibon57 closed this as completed Feb 4, 2020
@darind
Copy link
Collaborator

darind commented Feb 4, 2020

@jibon57, I managed to reproduce the issue on the iPhone Simulator. It is related to a bug in the console.dir implementation with some exotic object. I am working on a fix.

@darind darind reopened this Feb 4, 2020
@darind darind self-assigned this Feb 4, 2020
@darind darind added the bug Something isn't working label Feb 4, 2020
@darind
Copy link
Collaborator

darind commented Feb 5, 2020

@jibon57, we have released a fix in the console.dir function. Could you please verify that the error message is now properly logged in the iPhone Simulator without crashing?

@jibon57
Copy link
Author

jibon57 commented Feb 5, 2020

Thanks... it's working :)

@darind darind closed this as completed Feb 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants