I imported Firebase JS v3 API and used to initialize Firebase using:
firebase.initializeApp(config);
However the app failed to load correct
Not really specific to Android, but check the address in your actionCodeSettings.
actionCodeSettings
actionCodeSettings.url must be correct and whitelisted.
actionCodeSettings.url
Authenticate with Firebase Using Email Link in JavaScript