$ npm install react-native-firebase-app-instance-id --save
$ react-native link react-native-firebase-app-instance-id
import { getId as getAppInstanceId } from 'react-native-firebase-app-instance-id';
getAppInstanceId().then((appInstanceId: string) => {
console.log('appInstanceId', appInstanceId)
});