During implementation of Firebase Auth features I’ve encountered an issue with Objective-C bindings. Issue is also visible in the moe-bindings repo.
I’m trying to access first element in providerData NSArray available in file
@property(nonatomic, readonly, nonnull) NSArray<id<FIRUserInfo>> *providerData;
Which is available in java class
@Generated @Selector("providerData") public native NSArray<?> providerData();
Problem is that an
NSArray<id<FIRUserInfo>> has changed to
NSArray<?>. Trying to cast elements back to ``FIRUserInfo I’m getting an java cast exception.
How MOE is handling
NSArray<id<T>> types and how can I access elements of this
NSArray in Java?
Thanks in advance!