Comments (16)
Happy New Year
Finished bindings
https://www.nuget.org/packages?q=androidx.credentials
... together with few more...
closing this issue
from androidx.
thank you for the info.
You are welcome.
So what is the current plan ?
Don't know. I have to make it.
You will work on it but it will take much longer ?
Really don't know.
Or are you going to postpone it because of the new dependency ?
Postpone - yes, but for how long. I don't know. I will do my best to be ASAP.
from androidx.
In progress:
These bindings were hell on earth. 2 packages 3 PRs and still not done.
from androidx.
I'm unable to extend
AndroidX.Credentials.Provider.CredentialProviderService
using the current 1.2.0 release in nuget.
It was not surfaced. I need to check.
Not sure if I'm doing something wrong or if that falls under 'still not done' since
androidx.credentials.provider.CredentialProviderService
is available in a native java project.
Notes:
build (class-parse errors):
obj/Debug/net6.0-android/api.xml.class-parse : warning BG8605: The Java type 'android.service.credentials.CredentialProviderService' could not be found (are you missing a Java reference jar/aar or a Java binding library NuGet?) [/Users/Shared/Projects/d/X/AX/mu-20231212-credentials/generated/androidx.credentials.credentials/androidx.credentials.credentials.csproj::TargetFramework=net6.0-android]
/usr/local/share/dotnet/packs/Microsoft.Android.Sdk.Darwin/32.0.509/tools/Xamarin.Android.Bindings.ClassParse.targets(36,5): obj/Debug/net6.0-android/api.xml.class-parse warning BG8605: The Java type 'android.service.credentials.CredentialProviderService' could not be found (are you missing a Java reference jar/aar or a Java binding library NuGet?) [/Users/Shared/Projects/d/X/AX/mu-20231212-credentials/generated/androidx.credentials.credentials/androidx.credentials.credentials.csproj::TargetFramework=net6.0-android]
android.service.credentials.CredentialProviderService
is API 34.
api.xml.class-parse
<class
abstract="true"
deprecated="not deprecated"
jni-extends="Landroid/service/credentials/CredentialProviderService;"
extends="android.service.credentials.CredentialProviderService"
extends-generic-aware="android.service.credentials.CredentialProviderService"
final="false"
name="CredentialProviderService"
jni-signature="Landroidx/credentials/provider/CredentialProviderService;"
source-file-name="CredentialProviderService.kt"
static="false"
visibility="public">
</class>
from androidx.
Thanks for the feedback, but seems like it will need some new dependency packages from com.google.android.libraries.*
. So, it is not trivial as I thought.
from androidx.
Hello @moljac
thank you for the info. So what is the current plan ? You will work on it but it will take much longer ? Or are you going to postpone it because of the new dependency ?
from androidx.
I'm unable to extend AndroidX.Credentials.Provider.CredentialProviderService
using the current 1.2.0 release in nuget. Not sure if I'm doing something wrong or if that falls under 'still not done' since androidx.credentials.provider.CredentialProviderService
is available in a native java project.
from androidx.
@moljac Should the updates be live by now? There doesn't appear to be any movement on nuget.org and re-downloading yields the same result (CredentialProviderService
still missing)
from androidx.
Ticket: #840
Hello @moljac I am trying to wrap androidx.credentials
into separate nuget to simplify the usage but in methods
_credentialManager.ClearCredentialState
or _credentialManager.ClearCredentialStateAsync
I get a runtime exception:
[CredManProvService] In CredentialProviderFrameworkImpl onClearCredential
[Binder] Caught a RuntimeException from the binder stub implementation.
[Binder] java.lang.NullPointerException: Parameter specified as non-null is null: method androidx.credentials.CredentialProviderFrameworkImpl$onClearCredential$outcome$1.onResult, parameter response
[Binder] at androidx.credentials.CredentialProviderFrameworkImpl$onClearCredential$outcome$1.onResult(Unknown Source:3)
[Binder] at androidx.credentials.CredentialProviderFrameworkImpl$onClearCredential$outcome$1.onResult(CredentialProviderFrameworkImpl.kt:367)
[Binder] at android.credentials.CredentialManager$ClearCredentialStateTransport.onSuccess(CredentialManager.java:775)
[Binder] at android.credentials.IClearCredentialStateCallback$Stub.onTransact(IClearCredentialStateCallback.java:95)
[Binder] at android.os.Binder.execTransactInternal(Binder.java:1363)
[Binder] at android.os.Binder.execTransact(Binder.java:1304)
Is it problem in my code or it is possible that there is something with the binding ?
from androidx.
@Kebechet Not sure. I am not expert for ALL APIs in AX and GPS-FB-MLKit.
I would need a repro sample in order to make statement.
from androidx.
Thanks for the reply. The error is in the android library itself. More info in the ticket:
#840
from androidx.
Any news? AndroidX.Credentials.Provider.CredentialProviderService is still unavailable in latest nuget
from androidx.
Any news? AndroidX.Credentials.Provider.CredentialProviderService is still unavailable in latest nuget
It is available, but it is available in API34 and abstract
, so you need to inherit from it and implement what is necesssary.
from androidx.
@moljac As you can see it is still unavailable. My target api is 34.
from androidx.
@moljac
Can you confirm that it is bug in Nuget package or my project is wrong configured?
from androidx.
@moljac still waiting answer
from androidx.
Related Issues (20)
- "Specified cast is not valid" when using SetOnItemSelectedListener of NavigationBarView HOT 6
- `Xamarin.Jetbrains.Annotations` namespace clash with `JetBrains.Annotations` causes CS0433 build failure HOT 1
- Can't install Xamarin.AndroidX.AppCompat and RecyclerView latest versions into Xamarin project HOT 2
- androidx.profileinstaller.ProfileInstaller.writeProfile java.lang.ClassNotFoundException: Didn't find class "com.google.common.util.concurrent.ListenableFuture" on path: DexPathList HOT 6
- Announcement: .NET 7 no longer supported HOT 1
- Bind AndroidX.ViewPager2 1.1.0 HOT 3
- error CS7069: Reference to type 'ILifecycleOwner' claims it is defined in 'Xamarin.AndroidX.Lifecycle.Common', but it could not be found HOT 1
- Still unable to use Xamarin.AndroidX.Emoji2.EmojiPicker
- Error running `api-diff` on `Xamarin.AndroidX.Car.App.App`
- after installation Xamarin.AndroidX.Work.Runtime 2.9.0.4 its giving error androidx.collection.ArrayMapKt on building the project in Visual Studio Community 2022 for Mac Version 17.6.9 HOT 2
- Recycler view (and other androidx controls) shows error in .xml preview HOT 2
- Media3 Exoplayer bug HOT 2
- Cannot replace a media item or seek in Exoplayer when adding a listener HOT 12
- Build issue with version 1.9.1 of `Xamarin.AndroidX.Activity` HOT 6
- Build error in LiveDataKt$observe$wrappedObserver$1.class HOT 9
- [AndroidX.Media3.Transformer] EditedMediaItem.Builder missing HOT 9
- Support for the new Watch Face Format HOT 2
- Bind "androidx.compose.ui" HOT 4
- [AndroidX.Media3.ExoPlayer] Removing MediaSourceFactory causes MediaSources not to inherit IMediaSourceFactory HOT 1
- Port Google Play Asset Delivery sample from GPS repository
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from androidx.