Quantcast
Channel: Ionic Forum - Latest topics
Viewing all 71528 articles
Browse latest View live

Cordova-plugin-firebase bug

$
0
0

@LacOniC wrote:

When i add cordova-plugin-firebase plugin to project, i can not build android.

There are some topics about it but none of them worked with me. For example:


Do you have another solution? Or if you don’t have this problem what are your package versions?

Btw, i need @ionic-native/firebase for push notifications. Can @ionic-native/fcm be used same purpose?

Thanks in advance.

Posts: 1

Participants: 1

Read full topic


Ionic 4 built in Angular i18n

$
0
0

@pjwork wrote:

Hey guys, I have an Angular application that requires i18n. So far for web projects we are using the built-in i18n of Angular. We want to stick with this in the Ionic project we have and have implemented it so far. I’ve set up a custom configuration that specifies the i18nFile, i18nLocale and i18nFormat. Building with Angular itself (ng build) works fine and returns the translated application.

My current problem is that Ionic (or Cordova) seems to ignore the i18n-file I’m providing in the configuration if I run ionic cordova build android --configuration=…

I know ngx-translate exists, but I would like to consider it as the last options since it requires some changes in the existing app.

Posts: 1

Participants: 1

Read full topic

Testing Router with Lazy Loading

$
0
0

@leegee wrote:

Could anyone point me to an example of testing the lazy-loading router as setup the by Ionic 4 cli ‘tabs’ project?

TIA
Lee

Posts: 1

Participants: 1

Read full topic

Ionic get value?

$
0
0

@salomon022 wrote:

Hi, friends

  add(d)
 {
  
   let e = document.getElementById('idElement');
   let val = e.nodeValue;
   alert(val);
 }

help in this

Posts: 1

Participants: 1

Read full topic

Keyboard does not auto scroll on input focus in android devices

$
0
0

@ankitam wrote:

Hello everyone,

I am facing keyboard issue in android devices only its work perfectly in ios.when input gets focus content not scroll according focus in android and when i use ion-input in ion-footer it hide footer content when open keyboard not scroll up and keyboard’s next button also not work in android devices.
This is issue comes in android all issues are working fine in ios devices.
i used { scrollPadding: true,
scrollAssist: true,
autoFocusAssist: true,
} in app.component.js file

Please let me know if you have any solution

Posts: 1

Participants: 1

Read full topic

Are You Looking for SAFe Agile Certification Training?

$
0
0

@shreyashinde wrote:

To become a SAFe Agilist, LeanWisdom provides you precise information in all practices of Scaled Agile Frameworks (SAFe) training and also you will be trained by the experts having 26+ years of experienced SPC SAFe Consultants and also, they provide 100% Guarantee Certificate.

Posts: 1

Participants: 1

Read full topic

{ionic 4} ion-select,ionic-select option

Ion-img doesn't work - ionic 4

$
0
0

@boussarhane wrote:

I think I’m facing a strange issue. I’m trying to show an image using ion-img inside an ion-card component :

<ion-card>
    <ion-img src="https://www.surfertoday.com/images/stories/koloheandino24.jpg" ></ion-img>
</ion-card>

But it doesn’t work !!

The exact same code with any HTML tag before ion-img, IT works!!!

<ion-card>
    <span>bla bla ...</span>
    <ion-img src="https://www.surfertoday.com/images/stories/koloheandino24.jpg" ></ion-img>
</ion-card>

Any Idea please?
Thank you.

Posts: 1

Participants: 1

Read full topic


Ionic v1 Scroll issue after update iOS 13.0 on iPad

$
0
0

@bhanu1515 wrote:

After update my device to iOS 13.0, I have a critical issue.
The scroll on-page doesn’t work.

I have used the following CSS in the div tag to implement scrolling functionality in the application

.overflow-scroll{
position: absolute;
height: 100%;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}

Any solution?

Posts: 1

Participants: 1

Read full topic

Installation problem of cordova-res on ionic CLI 5.2.3

$
0
0

@bayes wrote:

I would like to know how to install cordova-res on ionic CLI 5.2.3. thank you for helping me

Posts: 1

Participants: 1

Read full topic

Align icon with ion-label on ion-input iOS

webSQL data (pouchDB) after update to ionic 4

$
0
0

@max_maeuschen wrote:

In my ionic 3 app I’m storing data in a pouchDB database using the webSQL adapter. After update to ionic 4 using a new project, I’m trying to access the data in the database. But it is empty. What’s the problem? How can I use the data of my old app?

Posts: 1

Participants: 1

Read full topic

ERROR in ./src/global.scss

$
0
0

@jiteshmonu wrote:

Hi All,

I am getting below error while running ionic serve command

ERROR in ./src/global.scss (./node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!./node_modules/postcss-loader/src??embedded!./node_modules/sass-loader/lib/loader.js??ref–14-3!./src/global.scss)
Module build failed (from ./node_modules/postcss-loader/src/index.js):
BrowserslistError: Unknown browser query basedir=$(dirname "$(echo "$0" | sed -e 's. Maybe you are using old Browserslist or made typo in query.
at unknownQuery (E:\Jitesh\Projects\Test\ProgramIdeaApp\node_modules\browserslist\index.js:176:10)
at E:\Jitesh\Projects\Test\ProgramIdeaApp\node_modules\browserslist\index.js:256:11
at Array.reduce ()
at resolve (E:\Jitesh\Projects\Test\ProgramIdeaApp\node_modules\browserslist\index.js:197:18)
at browserslist (E:\Jitesh\Projects\Test\ProgramIdeaApp\node_modules\browserslist\index.js:317:16)
at Browsers.parse (E:\Jitesh\Projects\Test\ProgramIdeaApp\node_modules@angular-devkit\build-angular\node_modules\autoprefixer\lib\browsers.js:66:12)
at new Browsers (E:\Jitesh\Projects\Test\ProgramIdeaApp\node_modules@angular-devkit\build-angular\node_modules\autoprefixer\lib\browsers.js:48:26)
at loadPrefixes (E:\Jitesh\Projects\Test\ProgramIdeaApp\node_modules@angular-devkit\build-angular\node_modules\autoprefixer\lib\autoprefixer.js:85:20)
at plugin (E:\Jitesh\Projects\Test\ProgramIdeaApp\node_modules@angular-devkit\build-angular\node_modules\autoprefixer\lib\autoprefixer.js:96:20)
at LazyResult.run (E:\Jitesh\Projects\Test\ProgramIdeaApp\node_modules\postcss\lib\lazy-result.js:295:14)
at LazyResult.asyncTick (E:\Jitesh\Projects\Test\ProgramIdeaApp\node_modules\postcss\lib\lazy-result.js:208:26)
at LazyResult.asyncTick (E:\Jitesh\Projects\Test\ProgramIdeaApp\node_modules\postcss\lib\lazy-result.js:221:14)
at E:\Jitesh\Projects\Test\ProgramIdeaApp\node_modules\postcss\lib\lazy-result.js:213:17
at

Here are the system details:

Ionic:

Ionic CLI : 5.1.0 (C:\Windows\System32\node_modules\ionic)
Ionic Framework : @ionic/angular 4.2.0
@angular-devkit/build-angular : 0.13.8
@angular-devkit/schematics : 7.2.4
@angular/cli : 7.3.8
@ionic/angular-toolkit : 1.4.1

Cordova:

Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : not available
Cordova Plugins : not available

Utility:

cordova-res : not installed
native-run : not installed

System:

Android SDK Tools : 26.1.1 (C:\Users\user\AppData\Local\Android\Sdk)
NodeJS : v8.16.0 (C:\Program Files\nodejs\node.exe)
npm : 6.9.0
OS : Windows 10

I have tried with node.js 8.x.x and 10.x.x

Posts: 1

Participants: 1

Read full topic

Confuse between IonNav and History

$
0
0

@MosesOng wrote:

Hi, I’m working on a Ionic 4 + React project, and here is my App.tsx:

import LogIn from './pages/LogIn';
import FBLinking from './pages/FBLinking';
...
  <IonApp>
    <IonNav root="login"></IonNav>
    <IonReactRouter>
      <IonPage>
        <IonRouterOutlet>
          <Route path="/home" component={Home} exact={true} />
          <Route path="/login" component={LogIn} exact={true} />
          <Route path="/fb" component={FBLinking} exact={true} />
          <Route exact path="/" render={() => <Redirect to="/login" />} />
        </IonRouterOutlet>
      </IonPage>
    </IonReactRouter>
  </IonApp>

So login page is my landing page when the app launch. From the login page, when the user successfully login, I manage to navigate to the “fb” page using this JavaScript:

this.props.history.push('/fb');

I have a modal window opened in the login page, but when I navigate to the “fb”, the modal still exist, what’s the proper way to clear everything and set my “fb” page as the New Root?

Thanks!

Posts: 1

Participants: 1

Read full topic

#2 how to make ion-card slide top to bottom in ionic 3?


Using HockeyApp on Ionic 4

$
0
0

@YuriGaliza wrote:

We are slowly migrating from Ionic 3 to Ionic 4, and we use HockeyApp, but the support goes only to Ionic 34.

It shows:

import { Platform } from “ionic-angular”;

And the error is:

ERROR in node_modules/ionic-hockeyapp/dist/src/hockey-app.d.ts(1,26): error TS2307: Cannot find module ‘ionic-angular’.

I already know that it should import

import { Platform } from “@ionic/angular”;

Has someone found a way around it or how to proceed in this case?

Posts: 1

Participants: 1

Read full topic

Change items position dynamically in ion-virtual-scroll

$
0
0

@Strider86 wrote:

I have a virtual scroll that contains a list of a custom component. Each item of this component have a specific height related to its content (therefore it is not straightforward to know in advance the items height and use the approxItemHeight property)

The items of the virtual scroll are clickable, and when an item is clicked it changes its height to display additional information.

The problem is that when the clicked item changes its height, its bottom is superposed with the next item, as the latter keeps its same y position (see next images below).

1

After Item1 is clicked:

2

Is it possible in the ion-virtual-scroll to change items position dynamically?

Ionic:
Ionic CLI : 5.0.0
Ionic Framework : @ionic/angular 4.4.2
@angular-devkit/build-angular : 0.13.8
@angular-devkit/schematics : 7.3.9
@angular/cli : 7.3.8
@ionic/angular-toolkit : 1.5.1

System:
Android SDK Tools : 26.1.1
NodeJS : v11.2.0
npm : 6.9.0
OS : Windows 10

Posts: 1

Participants: 1

Read full topic

Error in Android APK

$
0
0

@ricardofet wrote:

Im using ionic V4

I created a API REST over asp.net, in the simulator chrome my app work’s fine, but when i generate and run the APK for android and i clic button for submit method of apirest the console log return

2019-07-30 01:05:07.201 21012-21012/io.ionic.starter I/chromium: [INFO:CONSOLE(55398)] “ERROR”, source: http://localhost/vendor.js (55398)

I searched in google regard for this but dont found anything related for the issue.

Anyone with this issue

Thanks regards

Posts: 1

Participants: 1

Read full topic

Is there a way to save the “text” in speech to text Ionic Speech Recognition

$
0
0

@breadedx wrote:

I expect to be able to see the text available in the input so that I can have the option to edit before I save to database

startListening() {
    let options = {
      language: 'en-US',
      matches: 2,
      prompt: 'Say Something!'
    }
    this.speechRecognition.startListening(options).subscribe(matches => {
      this.matches = matches;
      this.cd.detectChanges();
    });
    this.isRecording = true;
  }


<ion-grid>
    <ion-row>
      <ion-col *ngIf="matches">
                <h3 *ngFor="let match of matches">
                  {{ match }}
                </h3>
                <ion-item>
                  <ion-input  type="text" [(ngModel)]="matches">
                  </ion-input>
                </ion-item>
      </ion-col>
    </ion-row>
 </ion-grid>

Posts: 1

Participants: 1

Read full topic

Can't pay old invoice

$
0
0

@deximer wrote:

“Your account is delinquent. Please update your billing”

Billing is now correct but no way to pay past invoice. # in_1BXb7VDDmNEjA07U7yfSE7Us

j

Posts: 1

Participants: 1

Read full topic

Viewing all 71528 articles
Browse latest View live


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