@guptajagadish843 wrote:
When i have added phonegap push plugin im getting this error
Posts: 1
Participants: 1
@guptajagadish843 wrote:
When i have added phonegap push plugin im getting this error
Posts: 1
Participants: 1
@vnabet wrote:
Hi,
I used this topic to migrate to ionic 3 from ionic 2 : Guide: How to update to Ionic 3.X
The ionic serve command work fine but when I change ts source code, the changes are not compiled.
It’s ok for sass or html templates… but for ts code, I have to kill and re-launch ionic serve process.Thanks.
Posts: 1
Participants: 1
@guptajagadish843 wrote:
When i have installed phonegap push plugin for push notifications with fcm
im getting this error while i run the apkPLEASE HELP ME WITH THIS ERROR IM NOT ABLE TO RESOLVE IT
Posts: 1
Participants: 1
@ericciaparicio wrote:
Hello! I am developing an Ionic App that consume WebServices developed in Slim Framework. It’s working perfect but without security.
To apply security, my idea was:
I have a Login Page. If the username and password are correct, I generate a token JWT and I add in local storage. Later, when should to access to another API method I send the token in the Authorization Header. It’s working but it’snt sure because the token is visible.
Any suggestion to improve the security in this context?
Regards
Emiliano
Posts: 1
Participants: 1
@irfan1302 wrote:
hello, it’s my first time post on the forum.
and i;m sorry if my english bad.I have login form as you can see bellow
login.html
<ion-content padding> <form (submit)="doLogin()"> <ion-item> <ion-label stacked>Username</ion-label> <ion-input [(ngModel)]="loginData.username" name="username" type="text" placeholder="Username" ></ion-input> </ion-item> <ion-item> <ion-label stacked>Password</ion-label> <ion-input [(ngModel)]="loginData.password" name="password" type="password" placeholder="Password"></ion-input> </ion-item> <button ion-button block type="submit"> Login </button> </form>
login.ts
import { Component } from '@angular/core'; import { NavController, LoadingController, ToastController } from 'ionic-angular'; import { AuthService } from '../../providers/auth-service'; import { TabsPage } from '../tabs/tabs'; import { RegisterPage } from '../register/register'; @Component({ selector: 'page-login', templateUrl: 'login.html' }) export class LoginPage { loading: any; loginData = { username:'', password:'' }; data: any; constructor(public navCtrl: NavController, public authService: AuthService, public loadingCtrl: LoadingController, private toastCtrl: ToastController) {} doLogin() { this.showLoader(); this.authService.login(this.loginData).then((result) => { this.loading.dismiss(); this.data = result; localStorage.setItem('token', this.data.access_token); this.navCtrl.setRoot(TabsPage); }, (err) => { this.loading.dismiss(); this.presentToast(err); }); }
i want to password to be convert to md5 .
i tried many ways to convert to md5 but still no result.
please help.
Posts: 1
Participants: 1
@nandanshan wrote:
Hi all,
I’m trying to select a PDF file from the device and upload the file to S3.
to select the file i’m using the input tag with type as file.
my requirement is, i have an action sheet and on clicking on an option from the action sheet, i need to open the file choose window from the code. for this i’m using the following code<input type="file" accept="application/pdf" (change)="showPDF($event);" [style.display]="'none'" #fileInput> @ViewChild('fileInput') public fileInput: ElementRef; private uploadPDF() { this.fileInput.nativeElement.click(); }
The following code works in Android but doesn’t work in IOS (in IOs, in some devices it works, but not all the time the popup to browse of choose from icloud shows up)
i’m clearing the input before calling the click handler
this.fileInput.nativeElement.value = null;
is there any other way to do this
Posts: 1
Participants: 1
@interino86 wrote:
Our client uses MobileIron to secure their mobile apps and.
I’m facing in issue regarding the SSO, I don’t know how to get the username from the app using Ionic
Has anyone faced to the same issue ? Or at least with another secured container to get the username ?
I couldn’t find any useful information from their documentation
Thanks a lot for your help
Posts: 1
Participants: 1
@vlab22 wrote:
Hi,
The catch never happen when I do a incorret sql call, I’m missing something?
Using ‘@ionic-native/sqlite’this.database.executeSql('SELECT InvalidColum FROM TestTable', {}) //Table doesn't existss .then(() => { console.log('Table Invoice created !'); }) .catch(e => console.error('Error', e)); //Tested with console.log, console.warn and nothings happen to
Thanks!
Ionic 3.19.0
Posts: 1
Participants: 1
@rodneyjoyce wrote:
Hi,
AppCenter from Microsoft sounds great - it’s got push, deployment, UI testing on 1000s of real devices and CI build processes - anyone tried integrating an Ionic project with it? https://appcenter.ms/
Posts: 3
Participants: 2
@champion007 wrote:
Below is error state-
2017-11-28 02:23:52.268990+0530 WiproInvite[7633:1003882] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///private/var/mobile/Containers/Data/Application/6CA3A172-5F22-49CA-8E10-2672D4DC58E6/Library/Cookies/Cookies.binarycookies 2017-11-28 02:23:52.424055+0530 WiproInvite[7633:1003882] Apache Cordova native platform version 4.5.3 is starting. 2017-11-28 02:23:52.424298+0530 WiproInvite[7633:1003882] Multi-tasking -> Device: YES, App: YES 2017-11-28 02:23:52.486439+0530 WiproInvite[7633:1003882] CDVWKWebViewEngine: trying to inject XHR polyfill 2017-11-28 02:23:52.675601+0530 WiproInvite[7633:1003882] [MC] Lazy loading NSBundle MobileCoreServices.framework 2017-11-28 02:23:52.677819+0530 WiproInvite[7633:1003882] [MC] Loaded MobileCoreServices.framework 2017-11-28 02:23:52.682354+0530 WiproInvite[7633:1003882] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles 2017-11-28 02:23:52.704230+0530 WiproInvite[7633:1003882] CDVWKWebViewEngine will reload WKWebView if required on resume 2017-11-28 02:23:52.704343+0530 WiproInvite[7633:1003882] Using Ionic WKWebView 2017-11-28 02:23:52.705992+0530 WiproInvite[7633:1003882] [CDVTimer][console] 0.174046ms 2017-11-28 02:23:52.706337+0530 WiproInvite[7633:1003882] [CDVTimer][handleopenurl] 0.225008ms 2017-11-28 02:23:52.711781+0530 WiproInvite[7633:1003882] [CDVTimer][intentandnavigationfilter] 5.371034ms 2017-11-28 02:23:52.712022+0530 WiproInvite[7633:1003882] [CDVTimer][gesturehandler] 0.142992ms 2017-11-28 02:23:52.770144+0530 WiproInvite[7633:1003882] [CDVTimer][splashscreen] 58.058023ms 2017-11-28 02:23:52.779426+0530 WiproInvite[7633:1003882] [CDVTimer][file] 9.112000ms 2017-11-28 02:23:52.779521+0530 WiproInvite[7633:1003882] [CDVTimer][TotalPluginStartup] 74.252009ms 2017-11-28 02:23:53.018215+0530 WiproInvite[7633:1003882] refreshPreferences: HangTracerEnabled: 0 2017-11-28 02:23:53.018309+0530 WiproInvite[7633:1003882] refreshPreferences: HangTracerDuration: 500 2017-11-28 02:23:53.018349+0530 WiproInvite[7633:1003882] refreshPreferences: ActivationLoggingEnabled: 0 ActivationLoggingTaskedOffByDA:0 2017-11-28 02:24:00.033896+0530 WiproInvite[7633:1003882] THREAD WARNING: ['Device'] took '16.936035' ms. Plugin should use a background thread. 2017-11-28 02:24:00.233997+0530 WiproInvite[7633:1003882] deviceready has not fired after 5 seconds. 2017-11-28 02:24:00.234515+0530 WiproInvite[7633:1003882] Channel not fired: onCordovaInfoReady 2017-11-28 02:24:00.234684+0530 WiproInvite[7633:1003882] Channel not fired: onFileSystemPathsReady 2017-11-28 02:24:00.234822+0530 WiproInvite[7633:1003882] Ionic Native: deviceready event fired after 3956 ms 2017-11-28 02:24:00.235082+0530 WiproInvite[7633:1003882] WARN: Native: tried calling StatusBar.styleDefault, but the StatusBar plugin is not installed. 2017-11-28 02:24:00.238668+0530 WiproInvite[7633:1003882] WARN: Install the StatusBar plugin: 'ionic cordova plugin add cordova-plugin-statusbar' 2017-11-28 02:24:06.111697+0530 WiproInvite[7633:1003882] [MC] Reading from public effective user settings. 2017-11-28 02:24:06.240753+0530 WiproInvite[7633:1003882] Can't find keyplane that supports type 5 for keyboard iPhone-PortraitChoco-PhonePad; using 2024220450015396792_PortraitChoco_iPhone-Complex-Pad_Default 2017-11-28 02:24:06.650651+0530 WiproInvite[7633:1003882] [LayoutConstraints] Unable to simultaneously satisfy constraints. Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints) ( "<NSAutoresizingMaskLayoutConstraint:0x1c028d930 h=-&- v=-&- UIToolbar:0x101629e50.width == _UIInputViewContent:0x101514e20.width (active)>", "<NSAutoresizingMaskLayoutConstraint:0x1c4289a60 h=--& v=--& _UIInputViewContent:0x101514e20.width == 0 (active)>", "<NSLayoutConstraint:0x1c0282fd0 H:|-(0)-[_UIButtonBarStackView:0x101624e90] (active, names: '|':_UIToolbarContentView:0x101623ab0 )>", "<NSLayoutConstraint:0x1c0282f30 _UIButtonBarStackView:0x101624e90.trailing == _UIToolbarContentView:0x101623ab0.trailing + 8 (active)>", "<NSLayoutConstraint:0x1c4283430 _UIToolbarContentView:0x101623ab0.trailing == UIToolbar:0x101629e50.trailing (active)>", "<NSLayoutConstraint:0x1c4283520 H:|-(0)-[_UIToolbarContentView:0x101623ab0] (active, names: '|':UIToolbar:0x101629e50 )>", "<NSLayoutConstraint:0x1c4288930 H:|-(0)-[_UIModernBarButton:0x10153b540] (active, names: '|':_UIButtonBarButton:0x10153b0f0 )>", "<NSLayoutConstraint:0x1c4288980 H:[_UIModernBarButton:0x10153b540]-(>=8)-| (active, names: '|':_UIButtonBarButton:0x10153b0f0 )>", "<NSLayoutConstraint:0x1c028c8f0 H:|-(8)-[_UIModernBarButton:0x10153e280'Done'] (active, names: '|':_UIButtonBarButton:0x10153de90 )>", "<NSLayoutConstraint:0x1c028c940 H:[_UIModernBarButton:0x10153e280'Done']-(0)-| (active, names: '|':_UIButtonBarButton:0x10153de90 )>", "<NSLayoutConstraint:0x1c028cd00 'UISV-canvas-connection' UILayoutGuide:0x1c41b65e0'UIViewLayoutMarginsGuide'.leading == _UIButtonBarButton:0x10153b0f0.leading (active)>", "<NSLayoutConstraint:0x1c028d1b0 'UISV-canvas-connection' UILayoutGuide:0x1c41b65e0'UIViewLayoutMarginsGuide'.trailing == _UIButtonBarButton:0x10153de90.trailing (active)>", "<NSLayoutConstraint:0x1c028d430 'UISV-spacing' H:[_UIButtonBarButton:0x10153b0f0]-(0)-[UIView:0x10153cb40] (active)>", "<NSLayoutConstraint:0x1c028d570 'UISV-spacing' H:[UIView:0x10153cb40]-(0)-[_UIButtonBarButton:0x10153cd20] (active)>", "<NSLayoutConstraint:0x1c028d610 'UISV-spacing' H:[_UIButtonBarButton:0x10153cd20]-(0)-[UIView:0x10153dcb0] (active)>", "<NSLayoutConstraint:0x1c028d6b0 'UISV-spacing' H:[UIView:0x10153dcb0]-(0)-[_UIButtonBarButton:0x10153de90] (active)>", "<NSLayoutConstraint:0x1c42838e0 'UIView-leftMargin-guide-constraint' H:|-(0)-[UILayoutGuide:0x1c41b65e0'UIViewLayoutMarginsGuide'](LTR) (active, names: '|':_UIButtonBarStackView:0x101624e90 )>", "<NSLayoutConstraint:0x1c4283980 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x1c41b65e0'UIViewLayoutMarginsGuide']-(0)-|(LTR) (active, names: '|':_UIButtonBarStackView:0x101624e90 )>" ) Will attempt to recover by breaking constraint <NSLayoutConstraint:0x1c4288980 H:[_UIModernBarButton:0x10153b540]-(>=8)-| (active, names: '|':_UIButtonBarButton:0x10153b0f0 )> Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful. 2017-11-28 02:24:06.668168+0530 WiproInvite[7633:1003882] [LayoutConstraints] Unable to simultaneously satisfy constraints. Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints) ( "<NSAutoresizingMaskLayoutConstraint:0x1c028d930 h=-&- v=-&- UIToolbar:0x101629e50.width == _UIInputViewContent:0x101514e20.width (active)>", "<NSAutoresizingMaskLayoutConstraint:0x1c4289a60 h=--& v=--& _UIInputViewContent:0x101514e20.width == 0 (active)>", "<NSLayoutConstraint:0x1c0282fd0 H:|-(0)-[_UIButtonBarStackView:0x101624e90] (active, names: '|':_UIToolbarContentView:0x101623ab0 )>", "<NSLayoutConstraint:0x1c0282f30 _UIButtonBarStackView:0x101624e90.trailing == _UIToolbarContentView:0x101623ab0.trailing + 8 (active)>", "<NSLayoutConstraint:0x1c4283430 _UIToolbarContentView:0x101623ab0.trailing == UIToolbar:0x101629e50.trailing (active)>", "<NSLayoutConstraint:0x1c4283520 H:|-(0)-[_UIToolbarContentView:0x101623ab0] (active, names: '|':UIToolbar:0x101629e50 )>", "<NSLayoutConstraint:0x1c4288f70 H:|-(>=5)-[_UIModernBarButton:0x10153d370] (active, names: '|':_UIButtonBarButton:0x10153cd20 )>", "<NSLayoutConstraint:0x1c4288fc0 H:[_UIModernBarButton:0x10153d370]-(>=5)-| (active, names: '|':_UIButtonBarButton:0x10153cd20 )>", "<NSLayoutConstraint:0x1c028c8f0 H:|-(8)-[_UIModernBarButton:0x10153e280'Done'] (active, names: '|':_UIButtonBarButton:0x10153de90 )>", "<NSLayoutConstraint:0x1c028c940 H:[_UIModernBarButton:0x10153e280'Done']-(0)-| (active, names: '|':_UIButtonBarButton:0x10153de90 )>", "<NSLayoutConstraint:0x1c028cd00 'UISV-canvas-connection' UILayoutGuide:0x1c41b65e0'UIViewLayoutMarginsGuide'.leading == _UIButtonBarButton:0x10153b0f0.leading (active)>", "<NSLayoutConstraint:0x1c028d1b0 'UISV-canvas-connection' UILayoutGuide:0x1c41b65e0'UIViewLayoutMarginsGuide'.trailing == _UIButtonBarButton:0x10153de90.trailing (active)>", "<NSLayoutConstraint:0x1c028d430 'UISV-spacing' H:[_UIButtonBarButton:0x10153b0f0]-(0)-[UIView:0x10153cb40] (active)>", "<NSLayoutConstraint:0x1c028d570 'UISV-spacing' H:[UIView:0x10153cb40]-(0)-[_UIButtonBarButton:0x10153cd20] (active)>", "<NSLayoutConstraint:0x1c028d610 'UISV-spacing' H:[_UIButtonBarButton:0x10153cd20]-(0)-[UIView:0x10153dcb0] (active)>", "<NSLayoutConstraint:0x1c028d6b0 'UISV-spacing' H:[UIView:0x10153dcb0]-(0)-[_UIButtonBarButton:0x10153de90] (active)>", "<NSLayoutConstraint:0x1c42838e0 'UIView-leftMargin-guide-constraint' H:|-(0)-[UILayoutGuide:0x1c41b65e0'UIViewLayoutMarginsGuide'](LTR) (active, names: '|':_UIButtonBarStackView:0x101624e90 )>", "<NSLayoutConstraint:0x1c4283980 'UIView-rightMargin-guide-constraint' H:[UILayoutGuide:0x1c41b65e0'UIViewLayoutMarginsGuide']-(0)-|(LTR) (active, names: '|':_UIButtonBarStackView:0x101624e90 )>" ) Will attempt to recover by breaking constraint <NSLayoutConstraint:0x1c4288fc0 H:[_UIModernBarButton:0x10153d370]-(>=5)-| (active, names: '|':_UIButtonBarButton:0x10153cd20 )> Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful. 2017-11-28 02:24:06.922402+0530 WiproInvite[7633:1003882] [Common] _BSMachError: port bd03; (os/kern) invalid capability (0x14) "Unable to insert COPY_SEND" 2017-11-28 02:24:09.110568+0530 WiproInvite[7633:1003882] THREAD WARNING: ['SpinnerDialog'] took '31.781982' ms. Plugin should use a background thread. 2017-11-28 02:24:11.171563+0530 WiproInvite[7633:1003882] Can't find keyplane that supports type 5 for keyboard iPhone-PortraitChoco-PhonePad; using 2024220450015396792_PortraitChoco_iPhone-Complex-Pad_Default 2017-11-28 02:24:15.164682+0530 WiproInvite[7633:1003882] -[__NSDictionaryM length]: unrecognized selector sent to instance 0x1c423cae0 2017-11-28 02:24:15.167676+0530 WiproInvite[7633:1003882] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSDictionaryM length]: unrecognized selector sent to instance 0x1c423cae0' *** First throw call stack: (0x182fe5d04 0x182234528 0x182ff31c8 0x182feb6b0 0x182ed101c 0x183749328 0x18362d608 0x1835c4eb8 0x100f4a06c 0x1830246a4 0x100f49a2c 0x100f48070 0x100f3f928 0x100f3e7a0 0x100f36b78 0x100f7e8a0 0x100eed294 0x100eed0f8 0x100eeecd8 0x192347ec0 0x1922dc7f8 0x1922de9d8 0x1920ca154 0x1922a7218 0x19208a730 0x19208d124 0x18a241e04 0x18a242034 0x182f8e2e8 0x182f8e268 0x182f8daf0 0x182f8b6c8 0x182eabfb8 0x184d43f84 0x18c4802e8 0x100ee54d4 0x1829ce56c) libc++abi.dylib: terminating with uncaught exception of type NSException warning: could not execute support code to read Objective-C class data in the process. This may reduce the quality of type information available. (lldb)
as soon -
validatePhoneNumber(phoneNo) { this.spinnerDialog.show(null, 'Loding...please wait', true); if (phoneNo.length == 10) { //Something}
my Application crashes, if the input is less than the limit char it works fine.
cli packages: (/usr/local/lib/node_modules) @ionic/cli-utils : 1.19.0 ionic (Ionic CLI) : 3.19.0 global packages: cordova (Cordova CLI) : 7.1.0 local packages: @ionic/app-scripts : 3.1.2 Cordova Platforms : ios 4.5.4 Ionic Framework : ionic-angular 3.9.2 System: ios-deploy : 1.9.2 Node : v8.9.1 npm : 5.5.1 OS : macOS Sierra Xcode : Xcode 9.1 Build version 9B55 Environment Variables: ANDROID_HOME : not set Misc: backend : pro
Posts: 1
Participants: 1
@lolujellyx wrote:
Hey guys, i have follwed the https://github.com/ionic-team/ionic-unit-testing-example repo for unit testing, but it doesnt quite work for me…
My Package:
“scripts”: {
“clean”: “ionic-app-scripts clean”,
“build”: “ionic-app-scripts build”,
“lint”: “ionic-app-scripts lint”,
“ionic:build”: “ionic-app-scripts build”,
“ionic:serve”: “ionic-app-scripts serve”,
“test”: “karma start ./test-config/karma.conf.js”,
“test-ci”: “karma start ./test-config/karma.conf.js --single-run”,
“test-coverage”: “karma start ./test-config/karma.conf.js --coverage”,
“e2e”: “npm run e2e-update && npm run e2e-test”,
“e2e-test”: “protractor ./test-config/protractor.conf.js”,
“e2e-update”: “webdriver-manager update --standalone false --gecko false”
},
“dependencies”: {
"@angular/common": “4.1.3”,
"@angular/compiler": “4.1.3”,
"@angular/compiler-cli": “4.1.3”,
"@angular/core": “4.1.3”,
"@angular/forms": “4.1.3”,
"@angular/http": “4.1.3”,
"@angular/platform-browser": “4.1.3”,
"@angular/platform-browser-dynamic": “4.1.3”,
"@ionic-native/barcode-scanner": “4.3.1”,
"@ionic-native/camera": “^4.2.1”,
"@ionic-native/core": “^3.12.1”,
"@ionic-native/date-picker": “^4.3.1”,
"@ionic-native/fcm": “4.3.2”,
"@ionic-native/file": “^4.4.2”,
"@ionic-native/file-transfer": “^4.4.2”,
"@ionic-native/google-plus": “^4.3.0”,
"@ionic-native/keyboard": “^4.3.2”,
"@ionic-native/splash-screen": “3.12.1”,
"@ionic-native/status-bar": “^3.12.1”,
"@ionic/storage": “2.0.1”,
“angularfire2”: “5.0.0-rc.3”,
“cordova-android”: “^6.3.0”,
“cordova-browser”: “^4.1.0”,
“cordova-plugin-camera”: “^2.4.1”,
“cordova-plugin-compat”: “^1.2.0”,
“cordova-plugin-console”: “^1.0.5”,
“cordova-plugin-datepicker”: “^0.9.3”,
“cordova-plugin-device”: “^1.1.4”,
“cordova-plugin-fcm”: “^2.1.2”,
“cordova-plugin-file”: “^5.0.0”,
“cordova-plugin-file-transfer”: “^1.7.0”,
“cordova-plugin-googleplus”: “^5.1.1”,
“cordova-plugin-splashscreen”: “^4.0.3”,
“cordova-plugin-statusbar”: “^2.2.2”,
“cordova-plugin-whitelist”: “git+https://github.com/apache/cordova-plugin-whitelist.git”,
“dexie”: “2.0.1”,
“firebase”: “4.6.0”,
“ionic-angular”: “3.4.2”,
“ionic-image-loader”: “^4.2.1”,
“ionic-img-viewer”: “2.7.3”,
“ionic-plugin-deeplinks”: “^1.0.14”,
“ionic-plugin-keyboard”: “^2.2.1”,
“ionicons”: “3.0.0”,
“ng-elastic”: “^1.0.0-beta.5”,
“phonegap-plugin-barcodescanner”: “^6.0.0”,
“rxjs”: “5.4.0”,
“sw-toolbox”: “3.6.0”,
“zone.js”: “0.8.18”
},
“devDependencies”: {
"@angular/cli": “^1.1.2”,
"@ionic/app-scripts": “2.1.4”,
"@types/jasmine": “^2.5.41”,
"@types/node": “^7.0.8”,
“angular2-template-loader”: “^0.6.2”,
“html-loader”: “^0.4.5”,
“istanbul-instrumenter-loader”: “^3.0.0”,
“jasmine”: “^2.5.3”,
“jasmine-spec-reporter”: “^4.1.0”,
“karma”: “^1.5.0”,
“karma-chrome-launcher”: “^2.0.0”,
“karma-coverage-istanbul-reporter”: “^1.3.0”,
“karma-jasmine”: “^1.1.0”,
“karma-jasmine-html-reporter”: “^0.2.2”,
“karma-sourcemap-loader”: “^0.3.7”,
“karma-webpack”: “^2.0.3”,
“null-loader”: “^0.1.1”,
“protractor”: “^5.1.1”,
“ts-loader”: “^2.0.3”,
“ts-node”: “^3.0.2”,
“typescript”: “2.3.4”
},Ionic Info:
@ionic/cli-utils : 1.9.2
ionic (Ionic CLI) : 3.9.2global packages:
Cordova CLI : 7.0.1
local packages:
@ionic/app-scripts : 2.1.4 Cordova Platforms : android 6.3.0 Ionic Framework : ionic-angular 3.4.2
System:
Android SDK Tools : 26.1.1 Node : v8.9.1 npm : 5.5.1 OS : Windows 10
This is my app.component.spec.ts :
so if i do “npm run test” the setup works but a to me very weird error occurrs… :
not really sure what this means… can s1 help me please ?
Thanks for your answers!
Posts: 1
Participants: 1
@adautley wrote:
Hi!
Im creating a pdf with ionic 2 and pdfmake without problems, like this:And then im trying to share this pdf with SocialSharing plugin. It works, but every letter of the pdf change, like this:
What am i doing wrong?
Posts: 1
Participants: 1
@longname wrote:
Because the Ionic Creator doesn’t offer much customization for the range component, I decided to play with some HTML and CSS.
The standard slider (below) works fine.
<div id="slidecontainer"> <p>Default range slider:</p> <input type="range" min="1" max="100" value="50">
But when I add CSS (below) it vanishes.
I’m putting this in the SCSS … editing place…
#slidecontainer { width: 100%; } .slider { -webkit-appearance: none; width: 100%; height: 25px; background: #d3d3d3; outline: none; opacity: 0.7; -webkit-transition: .2s; transition: opacity .2s; } .slider:hover { opacity: 1; } .slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 25px; height: 25px; background: #4CAF50; cursor: pointer; } .slider::-moz-range-thumb { width: 25px; height: 25px; background: #4CAF50; cursor: pointer; }
…and this in the HTML window.
<input type="range" min="1" max="100" value="50" class="slider" id="myRange">
Anyone see where I’m going wrong?
Posts: 1
Participants: 1
@ajammon wrote:
For some reason on Android this is a non issue. When the app is turned into the background, I’m not able to send any requests on ios. The foreground works perfectly, however putting the app in the background is the issue as I’m trying to send background geolocation data to the server when the app is in the background. Any advice would be much appreciated!
Posts: 1
Participants: 1
@diegoribeiro151 wrote:
I built an application using speechRecognition.
I would like to know if there is a possibility to listen to the audio I recorded again?
Posts: 1
Participants: 1
@cuongnguyen wrote:
Hi every one, I got some issue about ion-slides control bellow:
- control: ion-slides
- có 2 issue:
- pan on zoomed image not preventing sliding to next/prev page + zoomed image overlay next slide
-> https://github.com/ionic-team/ionic/issues/11690.
-> https://github.com/ionic-team/ionic/issues/11687
-> https://github.com/ionic-team/ionic/issues/10963- ion-slides stop playing youtube after change screen orientation
Could you help me about these issue!
Thanks
Posts: 1
Participants: 1
@texasman03 wrote:
I’m getting crash reports for the following error on Android:
java.lang.NullPointerException: at org.apache.cordova.splashscreen.SplashScreen$4.run (SplashScreen.java:230) at android.app.Activity.runOnUiThread (Activity.java:6050) at org.apache.cordova.splashscreen.SplashScreen.removeSplashScreen (SplashScreen.java:220) at org.apache.cordova.splashscreen.SplashScreen.access$1000 (SplashScreen.java:50) at org.apache.cordova.splashscreen.SplashScreen$5$1.run (SplashScreen.java:337) at android.os.Handler.handleCallback (Handler.java:739) at android.os.Handler.dispatchMessage (Handler.java:95) at android.os.Looper.loop (Looper.java:148) at android.app.ActivityThread.main (ActivityThread.java:7331) at java.lang.reflect.Method.invoke (Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1230) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1120)
Here’s my ionic info:
cli packages: (/usr/local/lib/node_modules) @ionic/cli-utils : 1.19.0 ionic (Ionic CLI) : 3.19.0 global packages: cordova (Cordova CLI) : 7.1.0 local packages: @ionic/app-scripts : 3.1.2 Cordova Platforms : android 6.3.0 ios 4.5.4 Ionic Framework : ionic-angular 3.9.2 System: ios-deploy : 1.9.2 Node : v8.4.0 npm : 5.5.1 OS : macOS High Sierra Xcode : Xcode 9.0.1 Build version 9A1004 Environment Variables: ANDROID_HOME : not set Misc: backend : pro
Posts: 1
Participants: 1
@titikshadaga wrote:
Hey,
I am using cordova-google maps plugin. I want to access the map through the navigation drawer. The map is in home page. So when am in Home page and click on home in the navigation drawer I get the error that the div has already map. I am not able to understand how to resolve this. Please help!!!
Posts: 1
Participants: 1
@aditya_1027 wrote:
I am trying to integrate ccavenue payment gateway integration with non seamless kit. But I am not getting it how it will work because working key is only allowed on our domain not on our app.
Do anyone know how to integrate ccavenue payment gateway in ionic?
Posts: 1
Participants: 1