Skip to content

Usage of arrow functions breaks functionality on <ios 10 #78

Closed
@devsaider

Description

@devsaider

Bug description

Usage of arrow functions in recaptcha.html breaks iOS 9 support because safari in iOS 9 doesn't support arrow functions in js and maybe something else.
https://caniuse.com/#feat=arrow-functions

To Reproduce

Steps to reproduce the behavior:

  1. Run example app (v1.5.0) on any simulator with <ios 10 (ex. iOS 9)

Expected behavior

recaptcha.validate() method to work or didFinishLoading callback

Additional context

It also works if I use recaptcha.html from older version (e.g. 1.4.2)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions