ionic3 - Ionic 3 - can't build my app

Hello i'm trying for 3 days now to solve this problem but i can't so if anyone can help me to solve it. after installing admob-free plugin i get this error while building my apk : Dex: Error converting bytecode to dex: Cause: PARSE ERROR: class name (com/google/android/gms/base/R) does not match path (Com/google/android/gms/base/R.class) ...while parsing Com/google/android/gms/base/R.classso if anyone can help me this is my setting :this is my project info : : 1.19.1 ionic (Ionic CLI) : 3.19.1global packages: cordova (Cordova CLI) : 8.0.0 ...Read more

toggle - Accordion List within ionic 2

I've create a custom components named Accordion within iconic 2 and working in browser perfectly but on device not working. I've split my code up into components, whereHome.tsimport { Component } from '@angular/core';import { NavController } from 'ionic-angular';import {DataCards} from '../../components/data-cards/data-cards';import {Data} from '../../components/data/data';@Component({ selector: 'page-home', templateUrl: 'home.html'})export class HomePage { public dataList: Data[]; constructor(public navCtrl: NavController) { this.dataLi...Read more

ionic2 - How can I customization local notification in Ionic 3 for every 3 days local notification for iOS & Android?

I am creating a simple local notification for Android & iOS both.Technology using ionic 3 frameworks it's working fine with every second, minute, hour, day, week, month & year but I need local notification for every 3 days so what can I do for that?Please help me.I am using plugin of ionic is ionic cordova plugin add de.appplant.cordova.plugin.local-notificationThanks!Regards,Karmdip Joshi...Read more

Ionic Android Build Error

I'm seeing these errors after fresh ionic, cordova, and JDK update installations when I do android build:BUILD FAILEDTotal time: 6.254 secsFAILURE: Build failed with an exception.What went wrong:Execution failed for task ':processDebugResources'. com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'c:\Android\sdk\build-tools\24.0.2\aapt.exe'' finished with non-zero exit value 1Try:Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log outpu...Read more

ionic framework - How to update ion-toggle status real in time?

I have an ion toggle in my application that stores his status in a firebase Database, is there a way to change his status with the data loaded from firebase?For example, if in the database the status is true, then when I load the view the toggle will be on. I've tried using checked:<ion-toggle checked="status()" >where status() returns a boolean.But due to the async function of firebase, the view loads 1st before the value in status(). Can't find a solution to this problem so far, I'd apreciate any help....Read more

push notification - Global component Ionic 3

I'm developing a PWA on ionic 3 with Angular 4 and I've failed multiple times trying to make a nice UI that show's in-app notifications about events.I have a NotificationsService that is responsable for everything that has to do with getting the notification from Firebase.My initial approach was to define a UI component (a.k.a notification-box) which would observe a property in the Notification Service and consume the notification provided by the service and display them nicely on top of the screen.This sounds all nice and good but I created th...Read more

parse.com - Hide push notifications on Ionic app when app is running

I am sending push notification from Parse server to an Ionic app, the app is using ParsePushPlugin:https://github.com/taivo/parse-push-pluginFollowing the instructions, I manage to receive push notifications correctly.But even when my app is running in foreground, the plugin is still showing the notification on top of my app, which is extremely confusing. I tried to listen to the event where push notification is received when app is running. But the notification is still showing:ParsePushPlugin.on('receivePN', function(pn:any){ console.log('yo...Read more

Ionic push notifications api returns status 410. ¿Alternatives?

I have been reading some forums and i found that ionic services are deprecated. Now developers have to find another alternatives for push and auth services. For push notifications there are alternatives such Firebase and Onesignal plugins.I have to say that my proyect was using Ionic1 and implemented phonegap-plugin-push (~1.10.2). What should I use? andWhat does it involve?https://blog.ionicframework.com/sunsetting-ionic-cloud-push-and-auth/https://forum.ionicframework.com/t/ionic-pro-an-push-notifications-shutdown-of-ionic-push/102813...Read more

Ionic 3 OneSignal Push Notification Click Open Page

I use OneSignal Push Notification for Ionic 3 . I want to when click notification application open page. My app.component.tsimport { Component, ViewChild } from '@angular/core';import { Platform, NavController } from 'ionic-angular';import { StatusBar } from '@ionic-native/status-bar';import { SplashScreen } from '@ionic-native/splash-screen';import { OneSignal } from '@ionic-native/onesignal';import { DuyurularPage } from '../pages/duyurular/duyurular';@Component({ templateUrl: 'app.html', providers:[OneSignal], template: '<ion-nav #myNav...Read more

Ionic Native with console log from ionic cordova run ios -c

I have searched all over to get this answer but nothing works.I am building an iPad app in Ionic 2 that uses various native plugins.I want to be able to test the native features and observe the console logs but nothing gets logged, using either the ios emulator or an iPad device.Ideally I also want livereload but I'll take what I can get.I eventually got to display console logs in Xcode but that involves runningcordova platform preparethen running the process from Xcode manually every time I make a single edit. This takes much longer than ionic...Read more

Ionic changer setinterval delay dynamically

Following is my code: this.platform.ready().then(() => { this.backgroundMode.enable(); this.platform.pause.subscribe(() => { this.appstatusonoff = 1; }); this.platform.resume.subscribe(() => { this.appstatusonoff = 0; });Second part:this.run_scripts = setInterval(() => { this.getusers(); }, 20000);I want to change the interval 20000 dynamically. I want to use 60000 when this.platform.pause and 20000 when this.platform.resume.Any ideas as to how can I achieve this?...Read more

braintree - InappBrowser opening Paypal in Normal browser after installing Crosswalk in Ionic

I am using Braintree payments in my Ionic app. Before installing Crosswalk, it was working fine.After installing Crosswalk, whenever I click on Paypal button in Dropin page, InappBrowser is trying to open the link in Normal External Browser instead of Webview. Any suggestions how to make Paypal open in Webview only.I am testing this on Android device. I have cordova-plugin-crosswalk-webview and cordova-plugin-inappbrowser installed and below is my system info.Cordova CLI: 6.2.0Ionic Framework Version: 1.1.0Ionic CLI Version: 1.7.15Ionic App Lib...Read more

ionic framework - Transition of navbar back button not working

Ionic version:[ ] 1.x [x] 2.x RC5[x] bug report[ ] feature request[ ] support requestCurrent behavior:There is no transition ocurring after pressing the navbar back button, or a custom "pop" button or the native hardware back button on the android phone.It works with 'ionic serve' but not when 'ran as an apk'Expected behavior:It should make a transition back to the last page on the navcontroller stack.Steps to reproduce:Click on the navbar back button in 'native mode'Related code: <ion-navbar hideBackButton="true"> <button (click)=...Read more