Providers api service not working after the build to .apk

i have a problem when i build my app to apk.
use this method
but all I get is when I try it for login I can not direct it to the dashboard just loading like providers apiservice does not exist.

before i’ve tried it on my android with inspect “ionic cordova run android --prod - l” and my app runs perfectly with no errors.

how to solve this?