Quantcast
Channel: Ionic Forum - Latest posts
Viewing all 228529 articles
Browse latest View live

Firebase App unable to Compile on Android with AAPT error

$
0
0

I followed the steps, the build was done successfully, but when running the application it is not requested http and it presents an error.


"export 'ICON_PATHS' was not found in 'ionicons/icons'

$
0
0

I am having the same issue. Using yarn did not help.

Ionic Video Streaming

$
0
0

Hey tumain, I’m trying to implement something very similar to what you have BUT with AES encryption… which is giving me a headache. You said that you were using HLS which means HTTP Live Streaming, but I didn’t want to do a live streaming, idk if it has anything to do with it but when I set up HLS on ios (with format=m3u8-aapl) the azure media player looks like a live streaming one rather than an on demand video (no time line, just play pause)… Do you know anything about this? Thanks in advance!!

WebIntent Broadcast receiver ionic 3

$
0
0

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

Ion-item --border-style?

Ionic 4 - how to make ionic redirect to market if no provider for intent

$
0
0

I’m using Whatsapp url scheme for send message to particular contact.

href=“whatsapp://send?text=Hello%20World!&phone=+91XXXXXXXXXX&abid=1234573031”

it’s working. but if mobile does not have whatsapp, it’s not showing any error. Also make redirect to playstore to install whatsapp. But how?

How to use custom webpack configuration in Ionic 4

$
0
0

Anyone have success in this? I need to specify some specific packages to be pollyfilled, and a custom webpack is usually my goto.

Ionic 4 infinite scroll not working

$
0
0

Facing same issue! Any possible hacks?


Ionic 4 infinite scroll not working

$
0
0

I’m seeing the same issue as well.

'Deploy' feature question

$
0
0

We will be switching from one API (which powers the majority of the content on our app) to another. Is the ‘Deploy’ feature a good option for a smooth transition, or is it mainly used for smaller changes?

Set focus on input inside alert prompt

Build Ionic offline

$
0
0

I wanted to run my ionic app on android because I used native plugins. But I get a gradle download error. Since my internet connection is not that fast, I checked the gradle version my app uses in platforms/android/gradle/gradle-wrapper.properties. And Here is what I found:

distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.3-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

So I downloaded gradle-4.10.3-all.zip. I created a dists folder under wrapper, put it there and changed the distributionUrl to point to ./wrapper/dists/gradle-4.10.3-all.zip. But still when I run my app, it changes the distributionUrl and starts to download gradle again.

By the way, I am using ionic version 5.0.2.

So, please tell me a way to use an offline gradle to build android apps.

Error35rhhhh

$
0
0

(topic withdrawn by author, will be automatically deleted in 24 hours unless flagged)

Push notification in native app using ionic capacitor

$
0
0

Hi,
Thank you very much for your hard work.
I was following this tutorial, https://angularfirebase.com/lessons/capacitor-five-apps-in-five-minutes/. In order to convert my native app into an android an ios app. It works very good :smiley:

But now I will like to know if it´s possible to add push notification into my native app and then converted again to android or ios.
I could see this link, https://capacitor.ionicframework.com/docs/guides/push-notifications-firebase/ but it seems that it requires first to convert my app into ionic. Is that right?

I am looking forward for your answer.
Regards,
Xabi

Upgrade to Android 8.0 Adaptive Icon Error

$
0
0

Trying to update some library.
Update Cordova to 8.0
Updated Android to 8.0
still have Ionic CLI as 3.20.

Trying to get on the new firebase stuff so I don’t have any many build problems. Yet I have build problems.

Getting this error
FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:app:processDebugResources’.

Android resource linking failed
/home/dev/Ionic-app/apps/TestAPP/platforms/android/app/build/intermediates/merged_manifests/debug/AndroidManifest.xml:31: AAPT: error: resource mipmap/ic_launcher_round (aka TESTAPP:mipmap/ic_launcher_round) not found.

Not really sure where to start.


Error trying to read NFC card on Ionic 3

$
0
0

Your problem was here:
You must to install it with this lines:

ionic cordova plugin add phonegap-nfc npm install --save @ionic-native/nfc@4

and then import in this way:

import { NFC, Ndef } from ‘@ionic-native/nfc’;

Regards

[SOLVED] IONIC 4 - com.android.ide.common.process.ProcessException: Failed to execute aapt

Ionic-plugin-deeplinks unsubscribe when path unmatched

$
0
0

And this is why people go native, because of bad support like this, 2 years old and still the same issue. The module is poorly coded. The problem is @ionic-native/deeplinks. Observable should NOT be used here.

There is a workaround on this post

and a possible future better workaround to come.

Dynamic ng-module ID

$
0
0

Hi, I have an array (will get from server). I am able to show the data. but whenever the user clicked on reply icon it needs to show input field for clicked data icon, but It is showing all input fields for all data and I need to send a same entered text to the server, so please help me. Please check image for your reference

 <div *ngFor="let message of messages">
        <div *ngFor="let mes of message let i = index" style="padding-left: 1px;padding-right: 10px;">

            <ion-card class="category-concept-card card-left-brd"  style="background:white;box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);margin: 5px !important;"  
             >
                
                <ion-card-content style="border-radius : 5px;margin-left: 5px;font-size: 0.9em;">

                        <div [innerHTML]="mes.msg" class="category-description" style="color:rgb(27, 12, 236)"></div>
                   
                
                      
                  <ion-row align-items-center style="margin-left: -7px;">
                      <ion-col  size="7" size-lg offset="7">
                            <p class="category-description" style="color:rgb(27, 12, 236)" >
                                    {{mes.createdOn| date :'medium'}}
                                </p>
                          </ion-col>
                     
                      <ion-col size="3" size-md offset="3" class="col-badges">
                            <ion-badge   center (click)="reply(mes.refId,index)" class="mrg-bdg "><ion-icon class="fnt-sth"  name="undo"></ion-icon></ion-badge>
                            <!-- <ion-badge   center (click)="forward(mes.refId,index)" class="mrg-bdg "><ion-icon class="fnt-sth"  name="redo"></ion-icon></ion-badge> -->
                            <ion-badge   center (click)="include(mes.refId,index)" class="mrg-bdg "><ion-icon class="fnt-sth"  name="add"></ion-icon></ion-badge>
                              <!-- <ion-badge   center (click)="scheduleMeeting(mes.refId,index)" class="mrg-bdg "><ion-icon class="fnt-sth" name="clock"></ion-icon></ion-badge>
                          <ion-badge   center (click)="approveTask(i,'Include Persons')" class="mrg-bdg "> <ion-icon class="fnt-sth" name="document"></ion-icon></ion-badge> -->
                                                
                      </ion-col>
                 
                    </ion-row> 

                    <app-expandable expandHeight="200px" [expanded]="tetraId==mes.refId">
                     <div style="margin-top: -13px;">
                      <ion-item [hidden]="!replyClicked" style="padding-left: 0px;">
                        <ion-label style="color:rgb(27, 12, 236);font-size: 14px;margin-top: 8px;">Reply</ion-label>{{mes.msgTo}}
                        <ion-select placeholder="Select" style="color:rgb(27, 12, 236);margin-left: -100px;            margin-right: 60%;
                        font-size: 0.9em;">
                          <!-- <ion-option *ngFor="#user of usersList" [value] = "user.id" [checked]="false">{{user.id}}</ion-option> -->
                        </ion-select>
                        <!-- <ion-label style="color:rgb(27, 12, 236);font-size: 14px;">Include</ion-label> -->
                        
                          <!-- <ion-option *ngFor="#name of namesList" [value] = "name.shortName" [checked]="false">{{name.shortName}}</ion-option> -->
                        
                      </ion-item>

                      <ion-item [hidden]="!includeClicked">
                        <ion-label style="color:rgb(27, 12, 236);font-size: 14px;">Include</ion-label>
                        <ion-select  placeholder="Select" value="brown" okText="Okay" cancelText="Dismiss">
                          <!-- <ion-option *ngFor="#name of namesList" [value] = "name.shortName" [checked]="false">{{name.shortName}}</ion-option> -->
                       </ion-select>
                      </ion-item> 
                     </div>
                     <div class="input-wrap" style="margin-top: 0px; margin-left: 0px;font-size: 13px;">
                      
                     
                      <input type="text" 
                                placeholder="Text Input"
                                [(ngModel)]="editorMsg"
                                maxlength="500"
                                (keyup.enter)="sendMsg(index)"   (input)='onInputTime($event.target.value)' (ionChange)='onChangeTime($event.target.value)'
                                style="width: 87%;border: 1px solid #ccc;border-radius: 20px;text-align: left;height: 40px;padding-left: 15px;padding-right: 15px;">
                     
                      <button ion-button clear icon-only item-right (click)="sendMsg(mes)" style="margin-top: -9px;    background: #427feb;
                      color: #fff;
                      border-radius: 50%;
                      height: 35px;
                      width: 35px;
                      font-size: 10px;
                      padding-right: -7px;
                      padding-left: 4px;
                      padding-top: 0px;
                      ">
                        <ion-icon name="ios-send" ios="ios-send" md="md-send"></ion-icon>
                      </button>
                    </div>
                    </app-expandable>


                </ion-card-content>
              </ion-card>

           
          </div>
      </div>
   


Ionic-plugin-deeplinks unsubscribe when path unmatched

$
0
0

Workaround:


var dl = window['IonicDeeplink'];

dl.route(
	{
		'/about-us': HomePage,
		'/something/:somethingId' : HomePage,
	},
	(match) => {
		console.log(' === 2 Deeplink: success. ', match);
	},
	(nomatch) => {
		console.error(' === 2 Deeplink nomatch: ', nomatch);
	}
);
Viewing all 228529 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>