ionic-framework

How to add Next button in Ionic soft keyboard plugin

痞子三分冷 提交于 2019-12-22 04:59:11
问题 We are developing the android application using the Ionic framework. When we click on the input text box we need to show next button instead of the return button. In the native Android API, we have options to show the next button. But in the Ionic frame work we don't have options to show the next button. How can I add the next button in the soft keyboard when input text box field is selected? 回答1: cordova.plugins.Keyboard.hideKeyboardAccessoryBar(false);//show the keyboard accessory bar with

Is it possible to simulate Android “hardware” back-button in web browser?

跟風遠走 提交于 2019-12-22 04:55:09
问题 It's great that it's possible to test many cases in a Cordova/Ionic app in the browser. But I haven't yet found a way to fake pressing Android's (formerly hardware-) back-button . Would be nice to have an extra drawer with a back-button or a key combination (e.g. Alt+Ctrl+<) which triggers an event that makes Ionic think the Android back-button was pressed. Is it possible to trigger such event with JavaScript? How? To be clear: I only want this when testing ionic apps in my web-browser. So

Why is Visual Studio TACO unable to find the app I am trying to debug?

余生颓废 提交于 2019-12-22 04:53:12
问题 I am using visual studio running in parallels on a Mac. The Mac functions as my build server for iOS. I am trying to get debugging working from visual studio for both the simulator (iPad Air iOS 9.3) and an actual device (an actual iPad Air). For now, it may be helpful to just focus on the simulator first. When I try to launch to a simulator (iPad Air) from visual studio, or to an actual device my application launches on the device or simulator before visual studio appears to hang for a few

Ionic issue after installation

不想你离开。 提交于 2019-12-22 04:42:48
问题 I need some helps to solve problems with ionic on my mac. For every command I launch from terminal with ionic, I receive the same error as shown below. For example even if I give command ionic -v , I receive this: $ ionic -v /usr/local/lib/node_modules/ionic/dist/index.js:24 const [xcode, iosDeploy, iosSim,] = yield Promise.all([ ^ SyntaxError: Unexpected token [ at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:387:25) at Object.Module._extensions..js (module.js:422:10)

Speech recognition using ionic framework

坚强是说给别人听的谎言 提交于 2019-12-22 04:33:32
问题 I am looking for a way to do speech recognition using ionic framework . I want to run an app in both ios and android device. Currently i am providing a web view in both ios and android and have a common code base . I want to include speech recognition feature to it and fetch the output of speech . 回答1: It looks like you have at least a couple options if you search around for "cordova speech recognition" on Google and if you look at the plugin repo at Apache's Cordova site. Here's two quick

ng-show/ng-if doesn't update dom height immediately

谁说我不能喝 提交于 2019-12-22 04:13:25
问题 I have a long div which is hide/show by ng-hide. here is a sample based on ionic demo. Click the button to make the longDiv show or hide. If you try to scroll the page immediately after hiding or showing it. sometimes you can find the page can scroll down even after longDiv hide. And sometimes page can not scroll down even after longDiv show. But if you wait for seconds, then try to scroll the page, the scroll bar can match the page's actual height. Html: <ion-content ng-controller=

Crop image via finger(touch) in Ionic App

无人久伴 提交于 2019-12-22 04:07:49
问题 I am Working on ionic based Application.My ionic app version is 1.2.4. I want to Crop Functionality in my application. I want to crop image Via Touch with irregular Shape. So anyone has Create touch cropper So plz help me. For more clearly, look at below gif what I want. Last 2 day I'm googling to find the solution and found that it's easy to do simple crop or square or rectangular crop but not getting crop image by touch. If anybody has done it then suggest me in the right direction. 回答1:

QuotaExceededError using Ionic Storage with a few strings

懵懂的女人 提交于 2019-12-22 04:03:41
问题 I'm having this issue with Ionic Storage, this is the complete stack trace: core.es5.js:1084 ERROR Error: Uncaught (in promise): QuotaExceededError: at c (polyfills.js:3) at c (polyfills.js:3) at polyfills.js:3 at t.invokeTask (polyfills.js:3) at Object.onInvokeTask (core.es5.js:4140) at t.invokeTask (polyfills.js:3) at r.runTask (polyfills.js:3) at o (polyfills.js:3) at IDBTransaction.invoke (polyfills.js:3) I'm using the settigs servis as recommended in Ionic super template. this is

Strange Angular-ChartJS issue, not displaying correctly in Ionic App

荒凉一梦 提交于 2019-12-22 03:52:10
问题 I'm building an Ionic App with AngularJS. In this App I want a line-chart of data. Yesterday I asked a question about this (Angular-Chart not rendering anything) which was answered, but now there's a new problem. Sometimes the chart is instantly visible, but when I rotate the screen between landscape/portrait it keeps getting bigger every rotation. Some other times the graph is not visible at all (except for the legend) till you rotate the screen some times. When I check it out with the web

Strange Angular-ChartJS issue, not displaying correctly in Ionic App

泪湿孤枕 提交于 2019-12-22 03:52:06
问题 I'm building an Ionic App with AngularJS. In this App I want a line-chart of data. Yesterday I asked a question about this (Angular-Chart not rendering anything) which was answered, but now there's a new problem. Sometimes the chart is instantly visible, but when I rotate the screen between landscape/portrait it keeps getting bigger every rotation. Some other times the graph is not visible at all (except for the legend) till you rotate the screen some times. When I check it out with the web