ok, I got the solution just remove the setting in ionic.config.json
{
"name": "mobile",
"integrations": {
"cordova": {},
"capacitor": {
"enabled": false
}
},
"type": "angular",
"id": "1111"
}
to
{
"name": "mobile",
"integrations": {
"cordova": {}
},
"type": "angular",
"id": "1111"
}