Posts

Showing posts with the label ionic-framework

Ionic Cordova iOS run project on device, error: Code Signing Error

Ionic Cordova iOS run project on device, error: Code Signing Error I am trying to run a simple app with Ionic version 3.20.0 , Cordova version 8.0.0 (basically i just created a new project from command line with nothing in it other than the added platforms). I am getting this error when running with command "ionic cordova run ios --device": Check dependencies Code Signing Error: No profiles for 'razvan.secondionicproject' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'razvan.secondionicproject'. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild. Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.4' When I open and run the project from the platforms/ios project folder with Xcode, it runs fine on my phone. Also when I opened with Xcode I checked automatic signing on, added t...

Jhipster Ionic entity creation : no such file _entity.html.ejs

Jhipster Ionic entity creation : no such file _entity.html.ejs I'm new to Jhipster and i'm trying to make my application with Jhipster-Ionic. And i'm stuck with the entity part. I have created the backend and the ionic app. Now I want to create my entities, I've done it on the backend part but when I do yo jhipster-ionic:entity <myEntity> , and select my backend I got this error : yo jhipster-ionic:entity <myEntity> ERROR! Copying template ionic/src/pages/entities/_entity.html.ejs failed. [Error: ENOENT: no such file or directory, open 'node_modulesgenerator-jhipster-ionicgeneratorsentity-clienttemplatesionicsrcpagesentities_entity.html.ejs'] Which version of Jhipster and which version of jhipster-ionic module? I suspect you are mixing incompatible versions. You should report this on github with details at github.com/oktadeveloper/generator-jhipster-ionic/issues – Gaël Marziou Jun 29 at ...

Navigate to tab passing parameter

Navigate to tab passing parameter Is posibble to pass parameter with this method: this.app.getRootNav().getActiveChildNav().select(3); i tried: this.app.getRootNav().getActiveChildNav().select(3, {apto: 1}); but it didnt work. 1 Answer 1 No , according to the docs the select function only takes one parameter ( tabOrIndex ) specifying the tab or index to select. A quick look into the corresponding code verifies this. select tabOrIndex To work arround this and pass data from one tab to another you can refer to this answer which offers three possible approaches to this problem. By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Ionic serve VS ionic serve -c

Image
Ionic serve VS ionic serve -c I'm new in Ionic and using Ionic 3.9.2 I got several terminal commands to serve my ionic-app but, I'm not getting any difference between these two commands. ionic serve and ionic serve -c 2 Answers 2 This is basically short form of ionic serve --consolelogs for printing the log of you app in ionic CLI.(see the image) ionic serve --consolelogs There is second command to debug the app which is ionic serve --verbose ionic serve --verbose Hope this helps you to find out the difference. ionic serve -c ionic serve -c or ionic serve --consolelogs will Print app console logs to your Ionic CLI. Hope this helps By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

ionic build android's Error : copyFileSync: could not write to dest file

ionic build android's Error : copyFileSync: could not write to dest file When I use the command : ionic cordova build android here is what I get : ionic cordova build android cp: copyFileSync: could not write to dest file (code=ENOENT):/Users/mehdigriche/work/cam1/test/platforms/android/res/xml/config.xml Parsing /Users/mehdigriche/work/cam1/test/platforms/android/res/xml/config.xml failed (node:2306) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: ENOENT: no such file or directory, open '/Users/mehdigriche/work/cam1/test/platforms/android/res/xml/config.xml' [10:50:14] lint finished i Have you checked the existence of or the permissions on the files mentioned in the error? – Thomas Smyth Dec 28 '17 at 11:17 8 Answers ...

Runtime Error: this.userprovider.userSignup(…).subscribe is not a function in Ionic

Runtime Error: this.userprovider.userSignup(…).subscribe is not a function in Ionic Below is signup.ts I wanted to insert the data in MongoDB. I'm getting the error like this.userprovider.userSignup(...).subscribe is not a function. Please help me to solve the error import { Component } from '@angular/core'; import { IonicPage, NavController, NavParams, ViewController } from 'ionic- angular'; import { UserProvider } from '../../providers/user/user'; @IonicPage() @Component({ selector: 'page-signup', templateUrl: 'signup.html', }) export class SignupPage { private registerUrl = 'http://localhost:8080/signup'; username: string; email: string; password: string; repassword: string; constructor(public navCtrl: NavController, public navParams: NavParams, public viewCtrl: ViewController, public userprovider: UserProvider) { } signup(): void { let review = { username: this.username, email: this.email, ...