Forge Component
(2)
Published on 2017-03-01 by Domingos Gomes
2 votes
Published on 2017-03-01 by Domingos Gomes

When i try to generate my apps with Diagnostic Plugins i get this error:
Error installing Cordova plugin: cordova.plugins.diagnostic.
This is the Extensibility Configurations that i used in the Plugin. Is there a fix for this error ?
{
    "plugin" :{
        "url": "https://github.com/dmlg94/cordova-diagnostic-plugin.git#Outsystems_v.1.0",
        ]
    }
}


Edit:
I have tried to change the url to
("url": "https://github.com/dmlg94/cordova-diagnostic-plugin.git#3.4.1")
but it still doesn't work

Thanks
Billy

Hello, 


It seems that there is a syntax error. There is no bracket of this "]"


{
    "plugin": {
        "url": "https://example.com/sampleplugin/sampleplugin.git#1.1.0"
    }
}

Jongmin Choi wrote:

Hello, 


It seems that there is a syntax error. There is no bracket of this "]"


{
    "plugin": {
        "url": "https://example.com/sampleplugin/sampleplugin.git#1.1.0"
    }
}

Hello Jongmin
I am sorry i tried to delete some part of the code because it doesn't seems to be the problem. So here is the full one. Seems i like forgot to delete the "]"

{
    "plugin" :{
        "url": "https://github.com/dmlg94/cordova-diagnostic-plugin.git#Outsystems_v.1.0",
         "variables": [    
            {"name": "Permissions", "value": "['android.permission.INTERNET','android.permission.BROADCAST_STICKY','android.permission.ACCESS_WIFI_STATE','android.permission.WAKE_LOCK','android.permission.ACCESS_LOCATION_EXTRA_COMMANDS','android.permission.RECORD_AUDIO','android.permission.READ_PHONE_STATE','android.permission.READ_EXTERNAL_STORAGE','android.permission.WRITE_EXTERNAL_STORAGE','android.permission.ACCESS_NETWORK_STATE','android.permission.ACCESS_FINE_LOCATION','android.permission.ACCESS_COARSE_LOCATION','android.permission.BLUETOOTH','android.permission.BLUETOOTH_ADMIN','android.permission.CHANGE_WIFI_STATE','android.permission.READ_CALENDAR','android.permission.WRITE_CALENDAR','android.permission.CAMERA','android.permission.READ_CONTACTS','android.permission.WRITE_CONTACTS','android.permission.GET_ACCOUNTS','android.permission.CALL_PHONE','android.permission.ADD_VOICEMAIL','android.permission.USE_SIP','android.permission.PROCESS_OUTGOING_CALLS','android.permission.READ_CALL_LOG','android.permission.WRITE_CALL_LOG','android.permission.SEND_SMS','android.permission.RECEIVE_SMS','android.permission.READ_SMS','android.permission.RECEIVE_WAP_PUSH','android.permission.RECEIVE_MMS','android.permission.BODY_SENSORS']"}
        ]
    }
}