-
Notifications
You must be signed in to change notification settings - Fork 997
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
UnhandledPromiseRejectionWarning #438
Comments
Same problem here! |
same here |
Same here!! :( |
Can someone look into this ???? facing the same issue.. |
@Shreewebs , which version works for you ? |
@nir-krevner ; Old Deployed projects with FCM are working good. |
@Shreewebs which version of fcm plugin works for you?
…On Mon, Jan 8, 2018 at 2:35 PM, Shreewebs ***@***.***> wrote:
@nir-krevner <https://github.com/nir-krevner> ; Old Deployed projects
with FCM are working good.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#438 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AegRNWLWt7TT-pHC0JMhBHW3peMkD2oBks5tIdptgaJpZM4RUhpc>
.
--
Regards,
Himalaya Ahuja
Himalaya|Android Developer | +91 9013451085 | www.iffort.com
|
It works for me with Android platform 6.4.0. Remove the platform and then go for "ionic cordova platform add [email protected]" It builds then for me. |
@Shreewebs How can anyone install an old version of the plugin? With |
@LucasBSC have you tried to run the app in an Android device? It crash for me when Android platform is 6.4.0 |
Please let us know asap if anyone finds a solution to this..!!
…On Mon, Jan 8, 2018 at 3:51 PM, fmss7 ***@***.***> wrote:
@LucasBSC <https://github.com/lucasbsc> have you try to run the app in an
Android device? It crash for me when Android platform is 6.4.0
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#438 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AegRNcpVX8TtZTqWZrbTHdtFGEOjy9nHks5tIewzgaJpZM4RUhpc>
.
--
Regards,
Himalaya Ahuja
Himalaya|Android Developer | +91 9013451085 | www.iffort.com
|
@fmss7 Yes, It worked for me. I built an APK and installed it on my Android device normally |
that doesn't work for me. |
I've installed the second fcm plugin and it works with android 6.4.0 |
I've done it and it works for me too, but the facts are:
Anyways, thank you very much @nir-krevner. |
Same problem here with the latest version of FCM plugin!! |
@mathewamg33 downgrading to [email protected] seems to work (check issue #435 ) on Android |
Yup, @rcluan is correct. I just upgraded with |
Thanks for your answers guys! Even though in my opinion those fixes should be temporary because we should be able to work with the updated versions. Hope someone fix it in the end. |
This is same error as the error I opened before #436 the problem should be not global installed |
Guys, I had to uninstall the android platform and installed the @6.x.x and worked! :) |
Not compatible with cordova 7 & 8, cordova 6 is obsolete for windows plugin is useless in current form |
I have Cordova 8.0.0. It works fine but with Android platform 6.4.0 as mentioned above. I had before conflict issues with Google Maps plugin but figured this out on another Issue here in the repo. Good luck! |
@selvin007 cordova 7 & 8 schould work fine, the problem should be the cordova-android plugin and not cordova |
guys.. i still got same error using this method `cli packages: (/usr/local/lib/node_modules)
global packages:
local packages:
System:
Environment Variables:
Misc:
and error run cordova
|
ionic cordova platform add [email protected] is working for me too. |
|
I have the same problem but |
|
same here:( Cordova version 8.0.0. tried to downgrade 7.1.0 and 6.4.0 --- but same. |
Was able to generate an APK after downgrading to [email protected] |
ionic cordova platform remove android |
Use full path to your sdk folder with environment variable after downgrading the versions. change your path: |
Why do you suppose we're working on Linux based system @zahiruldu ??? |
Are there any plans to upgrade this plugin to suupport |
I'm trying solutions above but none of them work to me |
It works on cordova 8.0.0 ,but you have to change your cordova-android version : |
1- ionic cordova platform rm android the solution for me, thanks!. |
1- ionic cordova platform rm android after above step I got this error After removing cordova-plugin-admobpro it work. my versioncordova --version : 8.0.0 |
download again Google-services.json file |
What version of jdk should be used? |
This pull request should fix the problem |
@rjf26 's solution works. and also make sure the package_name in your google-services.json file matches the id in your config.xml file |
@rjf26 's solution worked for me too. |
Maybe open terminal and run as admin |
@rjf26 's solution worked for me too. |
Try using cordova 7.1.0 and android 6.4.0 npm install -g [email protected] |
Thanks @IngJavierR, it works for me! |
the @LucasBSC solution´s worked for me. Thanks! |
This one worked for me :) +1 |
i add ionic cordova platform add [email protected] **Execution failed for task ':processDebugGoogleServices'.
|
i got it thanks |
keep on getting the same error over and over again even when I degrade it .... please help this issue has already been a dick to my head since this week, need to set up an android app for a client and I doesn't know java that much and can't use an android studio. Your help will be appreciated thanks! |
good morning, This was working fine until last week as this plugin used it in several apps. |
I'm trying to run my Ionic app in an Android device with cordova-plugin-fcm but I get the error below when I try to install it (
cordova plugin add cordova-plugin-fcm
) or run it (ionic cordova run android
).(node:2360) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Invalid data, chunk must be a string or buffer, not object
(node:2360) [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.
Thanks.
The text was updated successfully, but these errors were encountered: