In section 8 “Platform-specific Styles” of the Styles section in the react native course, Mosh teaches how to use AppText.ios.js and AppText.android.js to store platform based styles for text. However, he skips over how to implement it. The initial AppText.js file is still using Platform.select because he never deleted/modified it. How do I get my program to use the ios.js and android.js files?
He did show it, as long as you use the same name for the “export default AppText” it should work automatically thanks to the “.ios” and “.android” naming. The naming is case sensetive so try to name it exactly as he did.