0
I have a site that uses pay.me (Getaway payment) I created a webview that runs perfectly in versions android 7 and 8, but in versions 6, 5 and 4 the webview has error in javascript due to the syntax "then(result) =>" or more specific "=>" as in the code below, there is some 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 => {
.then(function(client) { return client.security.encrypt(card) })
– Valdeir Psr