Skip to content

Conversation

compnerd
Copy link
Owner

Remove this in favour of a prebuilt with the applied changes as we need other alterations for supporting the callback handling of the Firebase future type.

Remove this in favour of a prebuilt with the applied changes as we need other alterations for supporting the callback handling of the Firebase future type.
@compnerd compnerd requested a review from brianmichel August 14, 2023 22:22
Copy link
Collaborator

@brianmichel brianmichel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RIP SHIMS.CC

@compnerd compnerd merged commit 82fa93f into main Aug 15, 2023
@compnerd compnerd deleted the compnerd/deshim branch August 15, 2023 14:47
compnerd pushed a commit that referenced this pull request Nov 16, 2023
This adds the add and remove APIs for auth state listener. Should fix WPP-727. We've had to allocate our custom subclass on the heap since we want to make it appear as if this type is actually the base `AuthStateListener` instead of our subclass' type. This is important since you will be unable to actually register the listener with the Firebase Auth API unless Swift's interop can figure out that it _is_ an `AuthStateListener`. Additionally, we've opted to keep the API that requires explicit de-registration of a listener handler, it's a little annoying (since we could also de-register when our opaque type de-initializes) but though it was better to have a 1:1 mapping from the what the underlying SDK expects and what we're providing to the Swift consumer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants