is there some pluging for Voip in PGB?

  • 1
  • Question
  • Updated 3 years ago
Photo of Landy Fernandez

Landy Fernandez

  • 20 Posts
  • 0 Reply Likes

Posted 4 years ago

  • 1
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
Photo of Landy Fernandez

Landy Fernandez

  • 20 Posts
  • 0 Reply Likes
Thans Petra. You always so diligent. Can i compile this plugin with PGB in some way.?...that will be perfect for me...i need to implement a VOIP app and want some tool for (plugin, SDK, API) for a softphone...
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
You compile this plugin as any plugin, by specifying it in the config.
See the Plugins section of the PGB Docs.
Photo of Landy Fernandez

Landy Fernandez

  • 20 Posts
  • 0 Reply Likes
oooohh!!..i'm sorry...i thought this plugin was only for cordova... thanks a lot... I greatly appreciate your help.

can you help me too, please....with my post in ...http://community.phonegap.com/nitobi/... ...i need it too much...please , please ..my dear friend.
Photo of Landy Fernandez

Landy Fernandez

  • 20 Posts
  • 0 Reply Likes
Hi Petra ...i try to use the new plugin ...phonertc...and i add this items to my config.xml. i was reading about it and says that is important to set...arm7 for IOS and then my new code is the listed below.


<preference name="deployment-target" value="7.0" />

<preference name="BackupWebStorage" value="none" />

<gap:plugin name="phonegap-phonertc" source="npm" />


it is ok for Android but it crash in IOS...

this is my config.xml...


<widget xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0" id="com.myDom.myApp" version="0.0.1">
<name>MyApp</name>
<description>My App short description</description>
<author href="http://www.myDom.net" email="info@mydom.net">MyDom Team</author>
<content src="index.html"/>
<preference name="phonegap-version" value="cli-6.0.0" />
<preference name="permissions" value="none"/>
<preference name="orientation" value="default"/>
<preference name="target-device" value="universal"/>
<preference name="fullscreen" value="true"/>
<preference name="webviewbounce" value="true"/>
<preference name="prerendered-icon" value="true"/>
<preference name="stay-in-webview" value="false"/>
<preference name="ios-statusbarstyle" value="black-opaque"/>
<preference name="detect-data-types" value="true"/>
<preference name="exit-on-suspend" value="false"/>

<preference name="SplashScreen" value="screen"/>
<preference name="SplashScreenDelay" value="10000" />
<preference name="auto-hide-splash-screen" value="false"/>

<preference name="disable-cursor" value="false"/>
<preference name="android-minSdkVersion" value="15"/>
<preference name="android-installLocation" value="auto"/>

<preference name="AndroidPersistentFileLocation" value="Compatibility" />

<!--This sets the IPHONEOS_DEPLOYMENT_TARGET in the build, which tranlsates to the MinimumOSVersion in the ipa Propertly List. -->
<preference name="deployment-target" value="7.0" />

<preference name="BackupWebStorage" value="none" />

<gap:plugin name="cordova-plugin-battery-status" source="npm" />
<gap:plugin name="cordova-plugin-camera" source="npm"/>
<gap:plugin name="cordova-plugin-compat" source="npm"/>
<gap:plugin name="cordova-plugin-media-capture" source="npm"/>
<gap:plugin name="cordova-plugin-console" source="npm"/>
<gap:plugin name="cordova-plugin-contacts" source="npm"/>
<gap:plugin name="cordova-plugin-device" source="npm"/>
<gap:plugin name="cordova-plugin-device-motion" source="npm"/>
<gap:plugin name="cordova-plugin-device-orientation" source="npm"/>
<gap:plugin name="cordova-plugin-dialogs" source="npm"/>
<gap:plugin name="cordova-plugin-file" source="npm"/>
<gap:plugin name="cordova-plugin-file-transfer" source="npm"/>
<gap:plugin name="cordova-plugin-geolocation" source="npm"/>
<gap:plugin name="cordova-plugin-globalization" source="npm"/>
<gap:plugin name="cordova-plugin-inappbrowser" source="npm"/>
<gap:plugin name="cordova-plugin-media" source="npm"/>
<gap:plugin name="cordova-plugin-network-information" source="npm"/>
<gap:plugin name="cordova-plugin-splashscreen" />
<gap:plugin name="cordova-plugin-vibration" source="npm"/>
<gap:plugin name="cordova-plugin-facebook4" source="npm">
<param name="APP_ID" value="(myAppID)" />
<param name="APP_NAME" value="(myAppname" />
</gap:plugin>
<!--<gap:plugin name="nl.x-services.plugins.socialsharing" />-->

<gap:plugin name="com.paypal.cordova.mobilesdk" version="3.1.23" source="npm" />

<gap:plugin name="phonegap-phonertc" source="npm" />

<icon src="icon.png"/>
<icon src="res/icon/android/icon-36-ldpi.png" gap:platform="android" gap:qualifier="ldpi"/>
<icon src="res/icon/android/icon-48-mdpi.png" gap:platform="android" gap:qualifier="mdpi"/>
<icon src="res/icon/android/icon-72-hdpi.png" gap:platform="android" gap:qualifier="hdpi"/>
<icon src="res/icon/android/icon-96-xhdpi.png" gap:platform="android" gap:qualifier="xhdpi"/>

<icon src="res/icon/blackberry/icon-80.png" gap:platform="blackberry"/>
<icon src="res/icon/blackberry/icon-80.png" gap:platform="blackberry" gap:state="hover"/>

<!-- IOS 7.0+
iPhone 6 / 6+ -->
<icon src="res/icon/ios/icon-60@3x.png" gap:platform="ios" width="180" height="180" />
<!-- iPhone / iPod Touch -->
<icon src="res/icon/ios/icon-60.png" gap:platform="ios" width="60" height="60" />
<icon src="res/icon/ios/icon-60@2x.png" gap:platform="ios" width="120" height="120" />
<!-- iPad -->
<icon src="res/icon/ios/icon-76.png" gap:platform="ios" width="76" height="76" />
<icon src="res/icon/ios/icon-76@2x.png" gap:platform="ios" width="152" height="152" />
<!-- Settings Icon -->
<icon src="res/icon/ios/icon-small.png" gap:platform="ios" width="29" height="29" />
<icon src="res/icon/ios/icon-small@2x.png" gap:platform="ios" width="58" height="58" />
<!-- Spotlight Icon -->
<icon src="res/icon/ios/icon-40.png" gap:platform="ios" width="40" height="40" />
<icon src="res/icon/ios/icon-40@2x.png" gap:platform="ios" width="80" height="80" />
<!-- IOS 6.1
iPhone / iPod Touch -->
<icon src="res/icon/ios/icon.png" gap:platform="ios" width="57" height="57" />
<icon src="res/icon/ios/icon@2x.png" gap:platform="ios" width="114" height="114" />
<!-- iPad -->
<icon src="res/icon/ios/icon-72.png" gap:platform="ios" width="72" height="72" />
<icon src="res/icon/ios/icon-72@2x.png" gap:platform="ios" width="144" height="144" />
<!-- iPad Spotlight and Settings Icon -->
<icon src="res/icon/ios/icon-50.png" gap:platform="ios" width="50" height="50" />
<icon src="res/icon/ios/icon-50@2x.png" gap:platform="ios" width="100" height="100" />

<icon src="res/icon/webos/icon-64.png" gap:platform="webos"/>

<icon src="res/icon/windows-phone/icon-48.png" gap:platform="winphone"/>
<icon src="res/icon/windows-phone/icon-173-tile.png" gap:platform="winphone" gap:role="background"/>

<!--### SPLASH SCREEN ### -->

<gap:splash src="res/screen/android/screen-ldpi-portrait.png" gap:platform="android" gap:qualifier="port-ldpi"/>
<gap:splash src="res/screen/android/screen-mdpi-portrait.png" gap:platform="android" gap:qualifier="port-mdpi"/>
<gap:splash src="res/screen/android/screen-hdpi-portrait.png" gap:platform="android" gap:qualifier="port-hdpi"/>
<gap:splash src="res/screen/android/screen-xhdpi-portrait.png" gap:platform="android" gap:qualifier="port-xhdpi"/>

<gap:splash src="res/screen/blackberry/screen-225.png" gap:platform="blackberry"/>

<!-- iPhone and iPod touch -->
<gap:splash src="res/screen/ios/Default.png" gap:platform="ios" width="320" height="480" />
<gap:splash src="res/screen/ios/Default@2x.png" gap:platform="ios" width="640" height="960" />

<!-- iPhone 5 / iPod Touch (5th Generation) -->
<gap:splash src="res/screen/ios/Default-568h@2x.png" gap:platform="ios" width="640" height="1136" />

<!-- iPad -->
<gap:splash src="res/screen/ios/Default-Portrait.png" gap:platform="ios" width="768" height="1024" />
<gap:splash src="res/screen/ios/Default-Landscape.png" gap:platform="ios" width="1024" height="768" />

<!-- Retina iPad -->
<gap:splash src="res/screen/ios/Default-Portrait@2x.png" gap:platform="ios" width="1536" height="2048" />
<gap:splash src="res/screen/ios/Default-Landscape@2x.png" gap:platform="ios" width="2048" height="1536" />

<gap:splash src="res/screen/ios/Default-667h.png" width="750" height="1334"/>
<gap:splash src="res/screen/ios/Default-736h.png" width="1242" height="2208"/>
<gap:splash src="res/screen/ios/Default-Landscape-736h.png" width="2208" height="1242"/>
<gap:splash src="splash.png" />

<access origin="*"/>
<gap:plugin name="cordova-plugin-whitelist" source="npm"/>
<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>
Photo of Landy Fernandez

Landy Fernandez

  • 20 Posts
  • 0 Reply Likes
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
Sorry, but I don't know. I never tried that plugin and I find the plugin's documentation for the use with PGB rather....erm....briefly written.
Photo of Landy Fernandez

Landy Fernandez

  • 20 Posts
  • 0 Reply Likes
Thanks Petra ... i will try to implement this plugin and use it in my APP with PGB. I will start using the plungin with phongap-cli base in the sample with ionic (the sample that come with the plugin repository) https://github.com/alongubkin/phonert... translate it to kendo ui mobile and try to use it in PGB later...when i obtein any result ...i will publish it here.
thanks a lot for your help.
Photo of Andres Martinez

Andres Martinez

  • 16 Posts
  • 0 Reply Likes
any success on phonegap build ? i need to implement this plugin on PGB
(Edited)