admin管理员组

文章数量:1335405

Recently I have been upgrading my react native version from 0.72.15 to 0.75.0 following this Upgrade helper

I faced several conflict and then fixed, finally I got stuck with ments is not a valid Plugin property in my index.js file

This is what I have in index.js

/**
 * @format
 */

import {AppRegistry} from 'react-native';
import App from './App';
import {name as appName} from './app.json';

import messaging from '@react-native-firebase/messaging';

messaging().setBackgroundMessageHandler(async remoteMessage => {
    console.log('Message handled in the background!', remoteMessage);
});

AppRegistry.registerComponent(appName, () => App);

Initially I am trying to fix IOS app. Any suggestions about this issue?

Update - 1

本文标签: react nativecomments is not a valid Plugin property after upgrading from 07215 to 0760Stack Overflow