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
Android build/installation error: Cannot download from bintray #295
Comments
Worked after an hour, bintray was down |
I keep periodically getting issues with accessing bintray when I build, can we bypass bintray please? |
@MrShakes you can, you need to update react-native though, it's out of control of this module. Use react-native 0.65 or greater. 0.66.4 is current now - https://react-native-community.github.io/upgrade-helper/ |
Hi @mikehardy - we are currently on react-native version 0.61.2 and likely to update to 0.63.4 in the near future but 0.65 is out of the question. Does Notifee only support 0.65 and higher and do you suggest those versions because jcenter is removed from Android templates? We are getting this error which I believe to be the same:
We can remove the dependency on jcenter but would like to know if it's hosted on some other maven repo - is there anyway it's possible? Cheers! |
I can only say you should really revisit the "out of the question" project constraint for moving forward to newer react-native versions. But I must emphasize: This is out of control of this module Notifee does not use jcenter. The basic android build system for react-native < 0.65 uses Jcenter. You must upgrade react-native to be rid of jcenter. |
Thanks for the feedback @mikehardy - like I said, we can bypass jcenter in react-native 0.61.2 (we already do), using 0.65 is not possible for us. If notifee does not use jcenter, then why do we only get these errors after installing notifee? In the notifee docs, it says that 0.60.0+ is supported, is that not the case? If you do support 0.60 then there must be a solution.. Many thanks! |
Find jcenter in our source tree (clone it, run simple recursive grep), and we can continue searching for solutions here. Otherwise your problem is elsewhere |
Also worth noting, we could be compatible with react-native 0.54, and it would still not work. Because react native that old won't work |
All false positives from test fixtures and the like. jcenter is not in use. Notifee is jcenter-clean.
How to fix your project https://blog.gradle.org/jcenter-shutdown Proof it works, even as far back as react-native 0.61.2 (though that was a mess: metro-react-native-babel-preset has issues, and you have to use Xcode 12.4, and who knows what incompatibilities that has with android 12 / iOS15 etc...) https://github.com/mikehardy/rnfbdemo/blob/b3079ef2d394bb229e9a97dc1062e6cc9787c434/notifee-demo.sh This issue is closed from a notifee perspective. jcenter is not in this module. It is out of our control. |
After following the docs and installing the library I try to build and get the following error, seems bintray has been sunset:
Stack:
@notifee/react-native: 4.0.1
react-native: 0.64
The text was updated successfully, but these errors were encountered: