You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it would be possible and make a nice API if one could always use <AddWalletButton> on both Android and iOS systems.
On Android it could be implemented as a component with a render function.
<AddWalletButton>{(addPass)=>(<MyAndroidAddButtononPress={addPass}title="Add To Wallet"/>)}</AddWalletButton>
The render function is only ever called if canAddPasses evaluates to true. On iOS its never called, cause the button is rendered natively.
What do you think?
The text was updated successfully, but these errors were encountered:
I think it would be possible and make a nice API if one could always use
<AddWalletButton>
on both Android and iOS systems.On Android it could be implemented as a component with a render function.
The render function is only ever called if
canAddPasses
evaluates totrue
. On iOS its never called, cause the button is rendered natively.What do you think?
The text was updated successfully, but these errors were encountered: