This PR will make sure an Error is thrown is case the lib is used on an unsupported platform.
Metro would fail to even load the lib if there aren't any fallback files (without android.js etc), which makes it difficult to port apps to different platforms (windows, macos, web etc...).
This PR will make sure an Error is thrown is case the lib is used on an unsupported platform. Metro would fail to even load the lib if there aren't any fallback files (without android.js etc), which makes it difficult to port apps to different platforms (windows, macos, web etc...).