Closed ujwal-setlur closed 7 years ago
Having the same issue here.
Interesting. Yes, it should still work for Android. Can you provide a sample app?
@EyesBear and @ujwal-setlur Can you try the latest version? I just pushed a new update to npm
.
Here is a react-native app that works on Android from:
react-native init authapp && cd authapp
yarn install
npm install --save react-native-oauth
react-native link react-native-oauth
react-native run-android
I'm having the same problem here.
/Users/adrianotadao/personal/timekeeper-app/node_modules/react-native-oauth/android/src/main/java/io/fullstack/oauth/OAuthManagerFragmentController.java:32: error: cannot find symbol
import com.github.scribejava.core.exceptions.OAuthConnectionException;
^
symbol: class OAuthConnectionException
location: package com.github.scribejava.core.exceptions
@ujwal-setlur how did you fix it? Could you please share your solution?
You need to add
maven { url "https://jitpack.io" }
to your build.gradle
https://github.com/fullstackreact/react-native-oauth/blob/master/README.md#android-setup
@auser I added and then, I received this error 😢
Before adding this mave
, I received the error:
Could not resolve all dependencies for configuration ':app:_debugCompile'.
Could not find com.github.delight-im:Android-AdvancedWebView:v3.0.0.
That's the error I got as well I believe
Get Outlook for iOS
On Wed, Jan 18, 2017 at 4:21 PM -0800, "Adriano Tadao" notifications@github.com wrote:
@auser I added and then, I received this error 😢
Before adding this mave, I received the error: Could not resolve all dependencies for configuration ':app:_debugCompile'. Could not find com.github.delight-im:Android-AdvancedWebView:v3.0.0.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
I will check out the latest version. Thanks
Followed the instructions, Added the maven link still get an error:
> Task :react-native-oauth:compileReleaseJavaWithJavac /Users/umair/Desktop/Projects/reactcore/node_modules/react-native-oauth/android/src/main/java/io/fullstack/oauth/OAuthManagerPackage.java:39: error: method does not override or implement a method from a supertype @Override ^ Note: /Users/umair/Desktop/Projects/reactcore/node_modules/react-native-oauth/android/src/main/java/io/fullstack/oauth/OAuthManagerDialogFragment.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 1 error
Any help would be appreciated
My project also can't resolve AdvancedWebView. I see it as a dependency when I check the gradleDependencies: +--- com.github.delight-im:Android-AdvancedWebView:v3.0.0@aar But I don't see it listed in the external libraries. And consequently it can't be referenced in code.
Hi, I am getting error - Could not find com.github.delight-im:Android-AdvancedWebView:v3.0.0.
Any Solutions ?.
add maven { url "https://jitpack.io" }
inside allprojects repositories and try
Facing an error
Could not download Android-AdvancedWebView.aar (com.github.delight-im:Android-AdvancedWebView:v3.0.0): Skipped due to earlier error
Already added maven { url "https://jitpack.io" }
.
Did anyone solve this issue?
Hello,
I got this working for iOS (with minor difficulty, but it did work), but this does not even build for android:
FAILURE: Build failed with an exception.
Then I added
maven { url "https://jitpack.io" }
to the android/build.gradle, so the package was found, but then I get a compilation error:
node_modules/react-native-oauth/android/src/main/java/io/fullstack/oauth/OAuthManagerModule.java:228: error: cannot find symbol OAuthRequest request = new OAuthRequest(httpVerb, url.toString(), service);
Any help? The reason I am looking at this package is that I need oAuth support for multiple providers on both iOS and Android.
Thanks...