cordova-plugins

Registering Push Notifications with Tags not working

ε祈祈猫儿з 提交于 2019-12-11 06:56:13
问题 I am working on a Cordova app (using Telerik Appbuilder) and using this Azure Mobile Services plugin (https://github.com/Azure/azure-mobile-apps-cordova-client) to register for Push Notifications. I get a successful response from PNS (gcm and apns), and the call to register (registration event) with Notification hub also returns a successful response below. I also get the notifications on device (both on IOS and Android) when I send the notifications using the 'Test Send' utility from Azure

stop play back of audio recorder

女生的网名这么多〃 提交于 2019-12-11 06:36:21
问题 Hi i am trying to create a audio recorder app, currently i user cordova plugin and app starts to record and stop. when i try to play a file, that file does not moves to stop state when audio gets completed and when i click play of two audio in that list both audio file are played /*this will have the list of all files recorded */ ListAudioFiles(){ File.listDir(cordova.file.externalRootDirectory, 'myFolder/Audios').then( (allFiles) => { // do something console.log("we have audio files",

Add extra delegate to Cordova AppDelegate iOS

ぃ、小莉子 提交于 2019-12-11 06:19:50
问题 I am building a plugin to integrate an external framework to an Cordova, following the documentation, I need to include a new delegate to AppDelegate.h of my app. If was developing a native application, i just need to import the file and include the delegate on it. #import <MySpinServerSDK/MySpinServerSDK.h> @interface AppDelegate : UIResponder <UIApplicationDelegate, MySpinServerSDKDelegate> How can I add a extra delegate to a Cordova App for iOS using the plugin structure? I did all the

cordova unable to open fileURL returned by camera plugin after application restarted

拜拜、爱过 提交于 2019-12-11 06:07:57
问题 I am using cordova version 7.0.1 and the cordova-plugin-camera version 2.4.1. navigator.camera.getPicture(successFunction, failureFunction,options) In the options, I use destinationType: Camera.DestinationType.FILE_URI sourceType: Camera.PictureSourceType.PHOTOLIBRARY I am getting the image URI correctly. I create a "img" element and set the img.src to the URI returned by the plugin The picture appears correctly. Now, I store this URI in the application's local folder, and close the

cordova plugin hotspot module error angularjs

半城伤御伤魂 提交于 2019-12-11 06:07:39
问题 I have taken the sample project from the cordova-plugin-hotspot and tried building it into android application. But when I'm using that sample, I'm getting the module not defined error but I checked that the module has been defined in the html and in angular.module. So please someone help me to figure out what is the actual error. Below is that sample program. index.html <head> <meta charset="utf-8"> <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width

how to fix ionic cordova build android for google service plugin?

梦想的初衷 提交于 2019-12-11 05:57:09
问题 I have searched for this a lot and tried to short out the problem.. i have followed to change version also inside android.properties but it's not working. When i do ionic cordova build android it gives following error: Script '/My-path-to/platforms/android/cordova-support-google-services/android-build.gradle' line: 16 * What went wrong: A problem occurred evaluating project ':app'. > Failed to apply plugin [class 'com.google.gms.googleservices.GoogleServicesPlugin'] > For input string: "+"

ionic 2 - Inappbrowser event fire after second call

牧云@^-^@ 提交于 2019-12-11 05:56:31
问题 I use inappbrowser plugin in ionic 2 application like this : import {InAppBrowser} from 'ionic-native'; and use it like this : launch(url){ this.browser = new InAppBrowser( url, "_blank", "EnableViewPortScale=yes,closebuttoncaption=Done" ); this.browser.on("exit") .subscribe( () => { this.close_event=true; }, err => { console.log("InAppBrowser Loadstop Event Error: " + err); }); } and in html : <button ion-button icon-right color="danger" (click)="launch('https://www.example.com')">launch

each wifi network validation except password cordova wifi

邮差的信 提交于 2019-12-11 05:39:51
问题 I have developed the wifi application using wifiwizard and cordova for android devices and it works fine. I can choose the network and I can put the password and I can validate it and connect into it. But the problem is my company got some extra validations like identity number, employee type, and some other details. So how am I suppose to do these stuffs or how to add these for particular networks. I have uploaded my entire wifi application which works exactly I expected. Please have a look

Android screen orientation issue in 8.1.0

ぐ巨炮叔叔 提交于 2019-12-11 05:07:00
问题 Am having issue in Android OS 8.1.0 Start a portrait activity (portrait declare on manifest) Start a landscape activity (landscape declare on manifest) Finish the landscape activity Portrait activity is showed again but the orientation start flipping: first in portrait mode, then landscape mode and finally portrait again. I had observed this issue in google pixel 2 xl device with OS version 8.1.0 onwards ( issue present in Android P developer preview1 also) i saw someone posted in google

Phonegap - How to emailComposer to compose email?

百般思念 提交于 2019-12-11 04:57:31
问题 I am building app on phonegap with cordova and framework7. I want to compose email on android phone through Email Composer. I try to use this plugin. 'com.jcjee.plugins.emailcomposer' https://github.com/jcjee/email-composer Here is my code. window.plugins.emailComposer.showEmailComposerWithCallback(function (callback) { console.log(JSON.stringify(callback)); }, 'Subject', 'body', ['dummy@gmail.com'], null, null, true, path_to_file); This return nothing. Neither Success nor error. 来源: https:/