Cloud function not working on android 8 and later

Parse.Cloud.define('registerDevice', async function(request, response) {

  if (!request.params.permissionCode) {
return {
  "error": {
    "code": "1",
    "description": "Permission code is required"
 return {"success":{}};

i’ve created this function and work well on ios and android <= 7
on android 8 and later the first console.log is not executed

Can you please confirm the Parse Server version that you are using and also if you have any log or error thrown in our Android application?

that is my packaje.json
“name”: “parse-server-example”,
“version”: “1.4.0”,
“description”: “An example Parse API server using the parse-server module”,
“main”: “index.js”,
“repository”: {
“type”: “git”,
“url”: “
“license”: “MIT”,
“dependencies”: {
“express”: “~4.11.x”,
“kerberos”: “~0.0.x”,
“parse”: “~1.8.0”,
“parse-dashboard”: “^1.3.0”,
“parse-server”: “*”
“scripts”: {
“start”: “node index.js”
“engines”: {
“node”: “>=4.3”
and not, in android no error message appears, i clarify that I am working with react-native, in short the connection to the database is via javascript, I do not understand why it does not work

If you call the function using a curl command, what do you receive back?

when i call function from curl, that work fine
response is

Can you share the code that you are using in the client side?

  const cloudResponse = await"registerDevice",{
                "permissionCode": x,
                "coordinates": positionLicense
            if (cloudResponse && cloudResponse.success) {
                let respuesta = null
                respuesta = cloudResponse.success
            else {

Could you please wrap it in a try/catch and console log the error?

It doesn’t give error messages, while debugging it works perfect, when I make an apk release it breaks

Other api calls from your app are working fine from the apk?