For the last couple of days i am trying to build and android apk file using Ionic3, Cordova and Firebase. As i am quite new to ionic i am following a specific tutorial found online that is also providing me the source code as well. The link of the tutorial is the following :https://www.youtube.com/watch?v=1wU9N7VxoS8&t=1s and is about sending push notifications to specific devices. I follow the tutorial step by step and it seems to work fine but when i am trying to build an apk file in order to run it on my android device i ma getting the following error:
(node:18268) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Invalid data, chunk must be a string or buffer, not object
(node:18268) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
I have searched and tried different methods in order to fix the bug but none of them seems to works. Can anyone please provide me with a solution?Thanks
I resolve with:
Here is Github link
Ionic 3
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With