Tecnologia do Blogger.
RSS

[androidbrasil-dev] [ Cordova - Plugins não funcionam ]

Eu instalei 2 plugins em meu aplicativo, mas nenhum funciona, porque?

Tem que adicionar algo no configs.xml?

Os aplicativos são:

https://github.com/admob-google/admob-cordova
https://github.com/whiteoctober/cordova-plugin-app-version

Meu "cordova plugins ls":

com.admob.plugin 5.0.0 "AdmobPlugin"
cordova-plugin-whitelist 1.0.0 "Whitelist"
uk.co.whiteoctober.cordova.appversion 0.1.7 "AppVersion"

Meu config.xml:

<?xml version='1.0' encoding='utf-8'?>
<widget id="com.teste.consultar" version="0.1.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
    <name>Teste</name>
    <description>
        Teste
    </description>
    <content src="index.html" />
    <plugin name="cordova-plugin-whitelist" version="1" />
<icon src="logo.png" />
    <access origin="*" />
    <allow-intent href="http://*/*" />
    <allow-intent href="https://*/*" />
    <allow-intent href="tel:*" />
    <allow-intent href="sms:*" />
    <allow-intent href="mailto:*" />
    <allow-intent href="geo:*" />
    <platform name="android">
        <allow-intent href="market:*" />
    </platform>
    <platform name="ios">
        <allow-intent href="itms:*" />
        <allow-intent href="itms-apps:*" />
    </platform>
</widget>


Já segui todos os exemplos no github, mas nenhum deles funciona, além de não listar os plugins quando envio o app para o build.phonegap.com

--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

0 comentários:

Postar um comentário