Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ghost sim card on android 9 #89

Open
jorhel opened this issue Nov 29, 2019 · 1 comment
Open

Ghost sim card on android 9 #89

jorhel opened this issue Nov 29, 2019 · 1 comment

Comments

@jorhel
Copy link

jorhel commented Nov 29, 2019

Good morning, I hope someone can help me solve a small problem with the plugin.

I have a problem with a Moto G7 Power, android 9.
In my case, the app forces the operating system to choose between two sim's (the second does not physically exist on my device) when making a normal call. But from my app make a fake call with the virtual sim.

Comportamiento esperado:
Realizar una llamada desde mi APP

Comportamiento realizado:
Al hacer click en llamar desde mi APP, no ejecuta nada, no solicita permisos o cualquier otra acción, es necesario asignar permisos de forma manual a la aplicación, pero en este caso se da de alta una sim virtual en el sistema por lo que la APP realiza llamadas falsas desde esta sim.
Por otro lado se que es una sim falsa ya que las llamadas normales fuera desde la app, solicitan seleccionar una SIM para realizar la llamada. (Y mi teléfono solo acepta una SIM fisica).

Especificaciones del entorno:
Sistema operativo: Mac OS 10.14.6
Cordova: 9.0.0 (cordova-lib@9.0.1)
Plugins:
cordova-call 1.1.6 "CordovaCall"
cordova-plugin-permission 0.1.0 "Permission"
cordova-plugin-whitelist 1.3.4 "Whitelist"
Platforms: android 8.1.0 (En Mac).


An attempt was made to add the permissions from config.xml in the following ways:
Método 1:

    <config-file parent="/manifest/application" target="AndroidManifest.xml">
        <service android:name="com.dmarc.cordovacall.MyConnectionService"
                 android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE">
            <intent-filter>
                <action android:name="android.telecom.ConnectionService" />
            </intent-filter>
        </service>
    </config-file>

Método 2.

    <config-file parent="/*" target="AndroidManifest.xml">
        <uses-permission android:name="android.permission.BIND_TELECOM_CONNECTION_SERVICE"/>
        <uses-permission android:name="android.permission.CALL_PHONE"/>
        <uses-permission android:name="android.permission.MANAGE_OWN_CALLS"/>
    </config-file>

The behavior is the same.

@Woondal
Copy link

Woondal commented Nov 6, 2020

I have same issue. Have you solved this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants