GoogleCloudPlatform / recaptcha-enterprise-mobile-sdk

Apache License 2.0
31 stars 6 forks source link

Crash on Recaptcha.getClient method execution #35

Closed tetokasane closed 1 year ago

tetokasane commented 1 year ago

Describe the bug

There is a crash in my app, it occurs during Recaptcha client initialization

Снимок экрана 2023-02-09 в 04 35 22

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[RCAx_GPBTimestamp initWithTimeIntervalSince1970:]: unrecognized selector sent to instance 0x2831fd380' terminating with uncaught exception of type NSException

Integration Method

Select the method used to integrate with reCAPTCHA Mobile.

SDK Version (e.g. 18.0.1): 18.1.0

To Reproduce

Steps to reproduce the behavior:

  1. Initialize the SDK with Recaptcha.getClient method

Expected behavior

Recaptcha client initializes without any crashes, completionHandler executes after initialization

Screenshots

**Screenshot of Xcode window with crash details provided

Xcode version for iOS (please complete the following information):

Device (please complete the following information):

mcorner commented 1 year ago

Duplicate of #20 need -ObjC

mcorner commented 11 months ago

Note that -ObjC is no longer required as of 18.4.0