firebase.messaging (). setBackgroundMessageHandler () не поддерживается встроенными SDK Firebase - PullRequest
0 голосов
/ 03 ноября 2019

Используя response-native-firebase https://github.com/invertase/react-native-firebase.git#v5.x.x с реагировать родным 0.61.3, я получаю эту ошибку на цели Android:

Error: firebase.messaging().setBackgroundMessageHandler() is unsupported by the native Firebase SDKs.
Error: firebase.messaging().setBackgroundMessageHandler() is unsupported by the native Firebase SDKs.
    at Messaging.setBackgroundMessageHandler (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:211068:15)
    at createNotificationListeners$ (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:202153:60)
    at tryCatch (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:29149:19)
    at Generator.invoke [as _invoke] (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:29324:24)
    at Generator.prototype.<computed> [as next] (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:29192:23)
    at tryCatch (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:29149:19)
    at invoke (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:29225:22)
    at http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:29255:13
    at tryCallTwo (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:3083:7)
    at doResolve (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false:3247:15)

Я не знал, является ли это ошибкой или пропущенными настройками.. есть идеи?

...