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

Cannot Open CloudKit Authentication WebView #1

Open
bvsveera opened this issue Aug 20, 2016 · 3 comments
Open

Cannot Open CloudKit Authentication WebView #1

bvsveera opened this issue Aug 20, 2016 · 3 comments

Comments

@bvsveera
Copy link

bvsveera commented Aug 20, 2016

When attempting to create new records, or do anything that requires authentication, while unauthenticated, DroidNubeKit attempts to open Apple's authentication webpage as expected. However, the webpage does not load - a blank WebView opens with the following messages appearing in the logcat:

08-19 23:44:17.270 19847-20391/com.bharatiyer.numedsa I/System.out: net.moddity.droidnubekit.responsemodels.DNKUnauthorizedResponse@2bc6e5d
08-19 23:44:17.289 19847-19847/com.bharatiyer.numedsa I/WebViewFactory: Loading com.android.webview version 44.0.2403.119 (code 246011910)
08-19 23:44:17.311 19847-19847/com.bharatiyer.numedsa W/System: ClassLoader referenced unknown path: /system/app/webview/lib/x86
08-19 23:44:17.319 19847-19847/com.bharatiyer.numedsa I/LibraryLoader: Time to load native libraries: 4 ms (timestamps 3314-3318)
08-19 23:44:17.319 19847-19847/com.bharatiyer.numedsa I/LibraryLoader: Expected native library version number "",actual native library version number ""
08-19 23:44:17.325 19847-19847/com.bharatiyer.numedsa V/WebViewChromiumFactoryProvider: Binding Chromium to main looper Looper (main, tid 1) {e634ca3}
08-19 23:44:17.325 19847-19847/com.bharatiyer.numedsa I/LibraryLoader: Expected native library version number "",actual native library version number ""
08-19 23:44:17.325 19847-19847/com.bharatiyer.numedsa I/chromium: [INFO:library_loader_hooks.cc(120)] Chromium logging enabled: level = 0, default verbosity = 0
08-19 23:44:17.328 19847-19847/com.bharatiyer.numedsa I/BrowserStartupController: Initializing chromium process, singleProcess=true
08-19 23:44:17.328 19847-19847/com.bharatiyer.numedsa W/art: Attempt to remove non-JNI local reference, dumping thread
08-19 23:44:17.328 19847-19847/com.bharatiyer.numedsa E/SysUtils: ApplicationContext is null in ApplicationStatus
08-19 23:44:17.337 19847-19847/com.bharatiyer.numedsa W/chromium: [WARNING:resource_bundle.cc(285)] locale_file_path.empty()
08-19 23:44:17.338 19847-19847/com.bharatiyer.numedsa E/libEGL: validate_display:255 error 3008 (EGL_BAD_DISPLAY)
08-19 23:44:17.338 19847-19847/com.bharatiyer.numedsa E/libEGL: validate_display:255 error 3008 (EGL_BAD_DISPLAY)
08-19 23:44:17.370 19847-20443/com.bharatiyer.numedsa W/AudioManagerAndroid: Requires BLUETOOTH permission
08-19 23:44:17.376 19847-19847/com.bharatiyer.numedsa E/DataReductionProxySettingListener: No DRP key due to exception:java.lang.ClassNotFoundException: com.android.webview.chromium.Drp
08-19 23:44:17.395 19847-19847/com.bharatiyer.numedsa W/art: Attempt to remove non-JNI local reference, dumping thread
08-19 23:44:17.399 19847-19847/com.bharatiyer.numedsa W/AwContents: onDetachedFromWindow called when already detached. Ignoring
08-19 23:44:17.483 19847-19847/com.bharatiyer.numedsa I/System.out: net.moddity.droidnubekit.errors.DNKAuthenticationRequiredException
08-19 23:44:17.483 19847-20441/com.bharatiyer.numedsa W/chromium: [WARNING:data_reduction_proxy_config.cc(423)] SPDY proxy OFF at startup
08-19 23:44:17.650 19847-19885/com.bharatiyer.numedsa E/Surface: getSlotFromBufferLocked: unknown buffer: 0xa23db690
08-19 23:44:17.671 19847-19885/com.bharatiyer.numedsa E/Surface: getSlotFromBufferLocked: unknown buffer: 0xa23db460
08-19 23:58:43.168 19847-19885/com.bharatiyer.numedsa E/Surface: getSlotFromBufferLocked: unknown buffer: 0xa23dd290
08-19 23:58:43.189 19847-19847/com.bharatiyer.numedsa W/art: Attempt to remove non-JNI local reference, dumping thread
08-19 23:58:43.190 19847-19847/com.bharatiyer.numedsa W/AwContents: onDetachedFromWindow called when already detached. Ignoring

I understand that this project has not been updated in a while, but I would greatly appreciate any help you could provide. DroidNubeKit has been absolutely fantastic for fetching records to use in my Android app thus far.

@juangz
Copy link

juangz commented Feb 10, 2017

Hey @bvsveera, have you found how to solve this? I'm facing the same issue!
Thanks in advance

@bvsveera
Copy link
Author

@juangz unfortunately, I wasn't able to find a way around this. I imagine that there would be a way to get this to work, but evidently it is not easy. And it seems like this project is not under active development any more, so I wouldn't expect an update either.

@ebqualcosa
Copy link

As first step you need to change redirectUrl to redirectURL in DNKUnauthorizedResponse.java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants