ionic3

Ionic-3 Photo-library plugin crashes in iOS version 13. Unexpectedly found nil while unwrapping an Optional value: file

ぃ、小莉子 提交于 2019-12-24 15:31:39
问题 Ionic-3 Photo-library plugin crashes in iOS version 13. Works fine in iOS 12 version. Here is the log: 2019-09-30 12:03:03.878478+0530 destinate[453:135517] [core] "Error returned from daemon: Error Domain=com.apple.accounts Code=7 “(null)”" Fatal error: Unexpectedly found nil while unwrapping an Optional value: file /Volumes/Data/Projects/Destinate/destinate/platforms/ios/destinate/Plugins/cordova-plugin-photo-library/PhotoLibraryService.swift, line 314 2019-09-30 12:03:04.117471+0530

Ionic3 Push notification

浪尽此生 提交于 2019-12-24 15:27:48
问题 Has anyone worked with notifications on ionic 3 IOS ? to a week trying to use the firabase push (FCM) but without success, most of the tutorials are out of date ... Does anyone know of any other way I can use or if someone has some example project of using FCM in IOS for me to use / learn 回答1: Code sample of using cordova-plugin-fcm in ionic 3. import {Platform} from 'ionic-angular'; import { FCM } from '@ionic-native/fcm'; @Component({ templateUrl: 'app.html' }) export class MyApp {

Ionic 3 statusbar top gap on Iphone X (w/ simulator) [duplicate]

 ̄綄美尐妖づ 提交于 2019-12-24 12:21:57
问题 This question already has an answer here : Ionic - White edge on iPhone X in header (1 answer) Closed last year . Is there any working trick to solve this design bug? I'm using cordova-plugin-ionic-webview, "viewport-fit=cover" has been added to index.html. 回答1: It is related to the status bar plugin , which was fixed and merged successfully but it didn't release yet. you can try that plugin directly , for that you need to remove the plugin and installing it from the github url cordova plugin

My Image uploaded through form is not taking correct path in Ionic

☆樱花仙子☆ 提交于 2019-12-24 12:20:04
问题 I am working in Ionic app and I have image upload input field and upload button. I want to show the uploaded image as a preview but after uploading the image, it is not taking the image correct path. Error: unsafe:C:\fakepath\3.jpg net::ERR_UNKNOWN_URL_SCHEME This is my updateimage.html : <ion-content padding style="text-align: center;"> <h2 class="myformh2">Update Profile Picture</h2> <h4 class="myformh2">Image Preview</h4> <img src="{{img_upload ? 'http://localhost:8100/assets/imgs/def_face

ionic 3 app size is more than 30 mb

百般思念 提交于 2019-12-24 11:56:08
问题 I am using ionic 3 new. When i check my app size is more than 30 mb. i removed my all assets... But still i dont know how this much app size is coming. And this is my folder of my project: Node Module = 178mb resource = 1.2 mb src= 2.3 mb www= 14 mb platform= 468 mb plugins = 7.8 mb So in my platform folder i saw more mb. So here inside my Plugin folder images: Platform --> Android --> Asssets :14 mb cordova :3.3 mb cordova plugin-croswalk: 6 kb cordovalib:1.3 mb gradle:56 kb libs: 2kb

How to add custom image in tab-button-icon in ionic 3.

拥有回忆 提交于 2019-12-24 11:37:23
问题 I want to add my own custom images in place of default images provided by ionic3. I am new in Ionic please help me. Searching for solution since 1 week. tabs.html <ion-tabs [selectedIndex]="mySelectedIndex" name="conference"> <ion-tab [root]="tab1Root" tabsHideOnSubPages="false" tabTitle="Home" tabIcon="home"></ion-tab> <ion-tab [root]="tab2Root" tabsHideOnSubPages="false" tabTitle="About" tabIcon="information-circle"></ion-tab> <ion-tab [root]="tab3Root" tabsHideOnSubPages="false" tabTitle=

My Wishlisted product is not showing Wishlisted for the login user in Ionic

放肆的年华 提交于 2019-12-24 11:23:22
问题 I am working on the Ionic Ecommerce App and It has a Wishlist button for all the products. The user can only wishlist the product after login and if the user is not login it will the user a popup message. But the problem is that when the user wishlist the product by clicking on the heart and again the user will come on the product page and wishlist product is not showing the product wish-listed. This is my productdetails.html : <ion-col *ngFor="let product of this.pdeta" col-5 class=

More than one library with package name 'com.google.android.gms.license'

微笑、不失礼 提交于 2019-12-24 10:55:56
问题 I'm using angular 4 and ionic 3. Now when i run "ionic cordova run android" It gives me the following error: "more than one library with package name 'com.google.android.gms.license'" My project.property file: target=android-26 android.library.reference.1=CordovaLib cordova.system.library.1=com.android.support:support-v4:27.1.0 cordova.system.library.2=com.android.support:support-v4:27.1.0 cordova.system.library.3=com.android.support:support-v4:27.1.0 cordova.system.library.4=com.android

Tabs not showing after changing the rootPage in Ionic3

China☆狼群 提交于 2019-12-24 10:52:13
问题 I generated an ionic 3 app using ionicCLI with tabs, added new page for login. I changed the the roofrpage to rootPage:any = LoginPage; , when I load the home page unfortunately I can see the tabs. How can I fix this error so that when I login I can be able to see the Homepage and any other pages that I will create to have the tabs? import { Component } from '@angular/core'; import { Platform } from 'ionic-angular'; import { StatusBar } from '@ionic-native/status-bar'; import { SplashScreen }

How to resolve: Cannot determine the module for class OverlayPortal

*爱你&永不变心* 提交于 2019-12-24 10:47:04
问题 I'm facing following issue: If I try to build my Ionic 3 app for ios with the --prod flag, I get following error: typescript error Cannot determine the module for class OverlayPortal in C:/.../node_modules/ionic-angular/umd/components/app/overlay-portal.d.ts! Add OverlayPortal to the NgModule to fix it. Cannot determine the module for class IonicApp in C:/.../node_modules/ionic-angular/umd/components/app/app-root.d.ts! Add IonicApp to the NgModule to fix it. Cannot determine the module for