Loading Script from Asset Bundle in iOS and WebGL.

Hi I am trying to load the script from the Asset Bundle like given in the link https://docs.unity3d.com/Manual/scriptsinassetbundles.html. I am able to load the script in Android. Not able to load the script in iOS and WebGL as they wont support the Reflection. Does anyone know alternate method to load script from the asset bundle In IOS and WEbGL ? Please share the knowledge if anyone has already tried this. Thankyou.

iOS and WebGL are both Ahead-Of-Time compile platforms, so all scripts used at runtime need to shipped with the build.

If your script is compiled with the project that is loading the AssetBundles, and that script has the same name as the script in the AssetBundle, then AssetBundles will automatically hook up to it.