I have a site that uses the payment.me (payment getaway) I created a webview that runs perfectly on android versions 7 and 8, but in versions 6, 5 and 4 the webview presents error in javascript due to the syntax "then (result) => "or more specific" = > "as in the code below, is there any other option?
Android Studio Message: I / chromium: [INFO: CONSOLE (244)] "Uncaught SyntaxError: Unexpected token = >", source: http: // ........
pagarme.client.connect({ encryption_key: 'ek_test_eee777dddsss5555' })
.then(client => client.security.encrypt(card))
.then(card_hash => {