ionic-framework

xcodebuild Unsigned IPA - Missing Push Notification Entitlement (Work when signing directly the App in XCode)

风流意气都作罢 提交于 2021-02-11 16:55:54
问题 Context : XCODE 12.0.1 I'm using Push Notifications in Ionic. The configuration is OK. I added the Push Notification Capability in Signing and Capabilities . I build my app and I do npx cap open ios , and I do Product > Archive and then it asks me to sign the app, I sign it, and OK. When I test Notifications, everything works well. Problem : I need to generate unsigned IPA with xcodebuild for my client. He wants to sign it himself. But when I generate the xcarchive (unsigned IPA), then he

Using Social Sharing Cordova Ionic plugin Issue

﹥>﹥吖頭↗ 提交于 2021-02-11 16:55:12
问题 I have been trying to use the Email Composer plugin and the Social Sharing plugin to share a hardcoded subject and typed-by-user body from my Ionic 5 Application. What I want from iOS is to get a share sheet showing all the availalbe email apps i have installed on my device and choose one of them to share the email. At the moment my device is only letting me share the email by using iMail but I want the user to have the opportunity to choose from different email apps such as Gmail, outlook,

xcodebuild Unsigned IPA - Missing Push Notification Entitlement (Work when signing directly the App in XCode)

你离开我真会死。 提交于 2021-02-11 16:54:58
问题 Context : XCODE 12.0.1 I'm using Push Notifications in Ionic. The configuration is OK. I added the Push Notification Capability in Signing and Capabilities . I build my app and I do npx cap open ios , and I do Product > Archive and then it asks me to sign the app, I sign it, and OK. When I test Notifications, everything works well. Problem : I need to generate unsigned IPA with xcodebuild for my client. He wants to sign it himself. But when I generate the xcarchive (unsigned IPA), then he

Ionic: Is it possible to delay incoming push FCM push notification from showing to my device until a specific time

与世无争的帅哥 提交于 2021-02-11 14:55:32
问题 So i am using Firebase for my project. And what is does is that every time a new record is added into a specific collection in Firestore, my Firebase Function will be triggered thus sending the push notification into the devices of users who are subscribe to a specific topic. Here is the code that i used for Firebase Function: exports.sendNotifications = functions.firestore .document('notifications/{sessionId}').onCreate(async event => { const newValue = event.data(); // Gets data from the

My release apk crash immediately but the debug app work properly ionic 5

馋奶兔 提交于 2021-02-11 14:54:22
问题 I have installed ionic 5 and made project, it works fine on emulator, and debug on real devices properly working, but when I build release ionic build : ionic cordova build android --release --prod it shows: Add only entry points to the 'files' or 'include' properties in your tsconfig. cordova build android --release Checking Java JDK and Android SDK versions ANDROID_SDK_ROOT=undefined (recommended setting) ANDROID_HOME=/Users/wiqqi/Library/Android/sdk (DEPRECATED) Using Android SDK: /Users

Unable to change values in ion-select-multiple

戏子无情 提交于 2021-02-11 14:46:23
问题 I am using ion-select-multiple . It works perfectly fine normally. I have a requirement to pre select few options in it. I searched the web and found the solution, but after pre assigning the values, now when I try to change, it gives me error. Here is my home.html code: <ion-select multiple="true" okText="Okay" cancelText="Dismiss" [(ngModel)]="followers" [value]="{$value: followers}"> <ion-select-option value="brown">Brown</ion-select-option> <ion-select-option value="blonde">Blonde</ion

Google Analytics not tracking views in Android Ionic 3 Application with gtag.js

荒凉一梦 提交于 2021-02-11 14:45:01
问题 I'm using gtag.js to track analytics on my Ionic application. This works with iOS, but not with Android. In index.html, I've add the script : <script> window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtag('js', new Date()); gtag('config', 'UA-XXXXXXXX-XX', { 'send_page_view': false, 'app_name': 'MyApp' }); </script> I've made a provider for analytics : import { HttpClient } from "@angular/common/http"; import { Injectable } from "@angular/core"; import

Unable to rename mipmap/icon to ic_launcher?

六眼飞鱼酱① 提交于 2021-02-11 14:25:05
问题 When i try to rename @mipmap/icon to @mipmap/ic_launcer in authenticator.xml on line 2. Any program changes back when i build my app. * What went wrong: Execution failed for task ':app:processDebugResources'. > Android resource linking failed C:\ES.eWarrant\eWarrant\platforms\android\app\src\main\res\xml\authenticator.xml:2: AAPT: error: resource mipmap/icon (aka io.ionic.starter:mipmap/icon) not found. This is an error i've got when want to build ionic app. Ionic info: Ionic: ionic (Ionic

how to calculate height of scroll content

◇◆丶佛笑我妖孽 提交于 2021-02-11 13:48:25
问题 I'm developing Hybrid app using ionic-3 . I want to display vertical line in center of the page and my page have dynamic data so we can't set height of this line. I have display view of my page in below image. I have put div and set as absolute and give border left with 100% height but when i scroll line is no longer. So i just want to calculate height to scroll content and i'll set it dynamically. Let me know if you have better solution for it. Thank you. 回答1: Create Viewchild for your

Ionic: background geolocation

空扰寡人 提交于 2021-02-11 06:22:58
问题 I'm using Ionic & Firebase to create an Android application for geolocation. I used ngCordova.geolocation and I successfully get the device current location. My problem is that I need to continuously get current location, as long as the user doesn't turn off geolocation and callback a function every time the geolocation change, and test if the user is inside one of many circles in the maps. 回答1: Since you are already using the ngcordova.geolocation plugin, it has a method to keep tracking the