I am very new to React native and following a series of tutorials from Udemy and the thing is suddenly in a tutorial his file structure changed from index.js to index.ios.js and index.android.js
what is the difference between index.js and (index.ios.js **index.android.js).
My code is:
// library
import React from 'react';
import { Text, AppRegistery } from 'react-native';
//component
const App = () => (
<Text>Some text</Text>
);
AppRegistery.registerComponent('albums', () => App);
Error Message:

AppRegistry.iossuffix will only be loaded on iOS and you guessed it, the.androidsuffix will only be loaded on Android. If both files are identical, you can delete both and create aindex.jsfile.index.jsusually contains identical contents.Please check this,How to use index.js instead of (index.ios.js, index.android.js) in React Native for cross-platform app?