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

Unable to add platform android. Throws Unexpected token } in JSON at position 2695

$
0
0

@Fit_Kannadiga wrote:

09%20PM

Ionic Info

Ionic:

   ionic (Ionic CLI)             : 4.10.2 (/usr/local/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.0.1
   @angular-devkit/build-angular : 0.12.4
   @angular-devkit/schematics    : 7.2.4
   @angular/cli                  : 7.2.4
   @ionic/angular-toolkit        : 1.3.0

Cordova:

   cordova (Cordova CLI) : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms     : android 8.0.0
   Cordova Plugins       : no whitelisted plugins (1 plugins total)

System:

   NodeJS : v10.16.0 (/Users/raghavendrav/.nvm/versions/node/v10.16.0/bin/node)
   npm    : 6.10.1
   OS     : macOS Mojave
   Xcode  : Xcode 10.2.1 Build version 10E1001

Posts: 1

Participants: 1

Read full topic


SpeechRecognition 203 Error on iOS

$
0
0

@pkimmlinger wrote:

Hi, I’ve got an Error with the SpeechRecognition on iOS that freaking me out…
Android works fine. iOS Emulator works with no problems. But on a real Device I always got an 203 Error

console.error: error: Error Domain=kAFAssistantErrorDomain Code=203 “Corrupt”
[app-scripts] UserInfo={NSLocalizedDescription=Corrupt, NSUnderlyingError=0x2830060a0 {Error Domain=SiriSpeechErrorDomain
[app-scripts] Code=102 “(null)”}}

can someone help ?

Posts: 1

Participants: 1

Read full topic

Ionic 4 - Color input clear icon not change!

$
0
0

@SidiBecker wrote:

I’m trying these ways but none works.

--ion-color-step-400: #ffffff;
--text-color-step-400: #ffffff;
--input-md-input-clear-icon-color: #ffffff;

Input

Posts: 1

Participants: 1

Read full topic

Import errors when importing '@ionic/core' specific method from a stencil component

$
0
0

@Palisanka wrote:

I want to change the behavior of an ionic4 web component.

I created a stencil component from stencil-component-starter and copied the source of the component (ion-reorder in my case) from ‘@ionic/core/src/components’.

To make it work, I need to fix this import : import { getIonMode } from '../../global/ionic-global'

I installed @ionic/core as dependence and tried many ways to import :

  • import { getIonMode } from '@ionic/core/dist/types/global/ionic-global';

returns a TypeError :

TypeError: Failed to resolve module specifier "@ionic/core/dist/types/global/ionic-global". Relative references must start with either "/", "./", or "../".

So I tried to directly import from node_modules

  • import { getIonMode } from '../../../node_modules/@ionic/core/dist/types/global/ionic-global';

but it returns a rollup import error :

Rollup: Unresolved Import Could not resolve '../../../node_modules/@ionic/core/dist/types/global/ionic-global' from src/components/reorder/lazy_7lathtd3dfwla7hdtr7reg-reorder.js

I also tried to import the Ionic/core module : import * as Ionic from '@ionic/core'; But it doesn’t provide the method getIonMode() that I need.

Perhaps I miss something in the import process ?

Any help or hint appreciated :pray:

Posts: 1

Participants: 1

Read full topic

Ionic 4 - Hardware Back Button Return to Root (Home)

$
0
0

@plaidfox wrote:

I’m currently trying to setup a custom hardware back button function for my app through Android Devices. My current setup includes a Home Page -> Page 1 -> Page 2 -> Page 3. What I’d like to have happen is when the user is currently on Page 3 and hits the hardware back button on an Android device, the user is then sent back to the home page every time.

I have the following code setup in my app.component.ts, but I’m not sure what to put in the (???) spot to force the hardware back button to send the user to the homepage:

this.platform.backButton.subscribe(() => {
if (this.router.url === '/page-3') {
   ???
  //magic code that sends the user back to the home page
} else if (this.routerOutlet && this.routerOutlet.canGoBack()) {
this.routerOutlet.pop();
}

Anyone have any thoughts into what I should be looking into? I’ve looked into Navigation Controllers, Routers, Router Outlets, Guards but haven’t found a definitive answer to my problem. Any help would be greatly appreciated. Thanks.

Posts: 1

Participants: 1

Read full topic

Ionic 4 badge on card?

$
0
0

@tbaumer22 wrote:

Hello everyone,

I was wondering if the Ionic team had any future plans for implementing a badge on the new cards in Ionic 4?

ionic4_card_badge

Something like this would be very useful for a multitude of projects.

Until a feature is introduced, however, I was wondering if there were any good css classes to be used as a substitute?

Posts: 1

Participants: 1

Read full topic

How to delete the blank space between the card and tab

$
0
0

@rmunoz-2017226 wrote:

Hey guys, i got a problem, i’m adding the ionic tab to my proyect, but the tab is making a blank space, so my app looks weird, someone can help me? this is how it looks :

imagen1

and this is the blank space it makes
imagen2

thank you

Posts: 1

Participants: 1

Read full topic

Component missing in ionic 4

$
0
0

@ahmedgaber wrote:

Do anyone know a plugin or component to build events calender in ionic 4 i tried some plugins but result Ui was that good enough can u give me some better maybe i dont know,

Second. How to create a session auto signout user from the app after some minutes.
Thanks

Posts: 1

Participants: 1

Read full topic


How to get selected value from dropdown on button click

Themes/templates and version compatibility

Not able to add icon with label to Fab button in ionic 4

$
0
0

@pankaj-Eqtribe wrote:

`<ion-fab vertical="bottom" horizontal="end" slot="fixed">
    <ion-fab-button>
      <ion-icon name="add"></ion-icon>
    </ion-fab-button>
    <ion-fab-list side="top">
      <ion-fab-button routerLink="/add-asset">
          <ion-label>Assets</ion-label>
          <ion-icon name="laptop"></ion-icon>
      </ion-fab-button>
      <ion-fab-button routerLink="/asset-category">
        <ion-icon name="laptop"></ion-icon>
        <ion-label>Category</ion-label>
      </ion-fab-button>
    </ion-fab-list>
  </ion-fab>
`

css:
ion-fab-button {
overflow: visible;
position: relative;
ion-label {
position: absolute;
top: 0px;
right: 40px;
color: rgb(156, 39, 39);
background-color: rgba(0,0,0,0.7);
line-height: 24px;
padding: 4px 8px;
border-radius: 4px;
}
contain: layout;
}

Posts: 1

Participants: 1

Read full topic

Border remove

Franchise with largest restaurant chain in India

$
0
0

@bholesh1 wrote:

First Fiddle restaurant is one of thelargest restaurant chains in India and it is run by Priyank Sukhija famous face in food and beverage industry. The brand of the first fiddle is Lord of the drinks, Jlwa, The flying saucer cafe, Teddyboy, Plumbybentchair, and Dragonfly experience. After winning the heart of India, The brand of first fiddle restaurant next focus on global expansion.

First Fiddle Restaurant is offering franchise opportunity for its major brand and it is one the most profitable franchise opportunity in India. Lord of the drinks is one of the longest restaurant and bar chains in Asia. After capturing the Mumbaikar’s heart Jlwa step towards global expansion in Europe. Dragonfly Experience is a joint venture of priyank sukhija and greatly known rapper Badshah. Plumbybentchair is also a joint venture with business tycoon Natasha Jain co-founder and CEO of Bentchair.

Food and Beverage industry is one of the fastest growing industries in India. Food and beverage have a huge audience. People of Indian found of taste and the place where global taste serves on his platters. People love to spend quality time with family and a special one in a restaurant where the ambiance and taste give him/her good vibes. so if you want to invest capital in any business than food and beverage is a good choice for today’s era.

The Brand of First Fiddle i.e. The Lord of the drinks is available across all major city of india like Delhi, Noida, Mumbai, Chennai and coming soon in Banglore, Kolkata and Lucknow. Jlwa is currently in Mumbai and aimed for global expansion. while Flying saucer cafe is in Delhi and Lucknow. so, First Fiddle Restaurant is offering for top 10 food franchise in India and also offering franchise opportunity for longest restaurant chains in India.

Posts: 1

Participants: 1

Read full topic

ERR_SDK_PACKAGE_NOT_FOUND executing ionic cordova run android

$
0
0

@krupa_rk wrote:

Running the command ionic cordova run android I get the error ERR_SDK_PACKAGE_NOT_FOUND after installing latest ionic version 5.2.3

Posts: 2

Participants: 2

Read full topic

How to use ion-nav

$
0
0

@BDominikGT wrote:

Hi, I migrating ionic v3 app to ionic v4.
Ionic 4 using angular router which fine. We have tabs template thats working fine.
My main question is :
How to combine ionic tabs which uses the angular router, and the ion-nav, to be able to push and pop components inside tabs page.

More details about the question.
We need stack based navigation like in v3.
And I found this documentation about the ion-nav


But there is no documentation how to use it.
We have a few shared components. And from each tab we can open those components, and from those components we can also open more components.
E.g. from tab 1, I want to push Events component into the nav stack, and from that another and another component.
But also if I’m on the tab2 I want to be abble to do that.

Posts: 1

Participants: 1

Read full topic


USB Testing - Missing Format / No CSS

$
0
0

@Stusaw wrote:

I’ve just tried running my app on a device via USB but all styles are lost when it finally launches.

Viewing it in the browsers works perfectly

Posts: 1

Participants: 1

Read full topic

Safety measures while using Cenforce 150mg

$
0
0

@ourchemistshop wrote:

Continuously Store this solution in a cool and a dry spot where your youngsters and pets are not set up to reach. Your master must consider your absolute medical history and each and every one of the prescriptions which you are taking which wires home-made medications also. Try not to take Cenforce 150 mg if you are oversensitive to boring Sildenafil or any of its ingredients. Continuously get your physical examination before taking Cenforce 150mg. Never accept this solution if you have wearisome bladder maladies. You should evade this medicine if you are experiencing thyroid issue.
visit our more products:

Cenforce 100
Cenforce 200

Fildena 100

Vidalista 60

Sildenafil Citrate 100mg
Cenforce 200
Cenforce 150
Cialis 20mg

Posts: 1

Participants: 1

Read full topic

Custom icon in ion-fab-button

$
0
0

@ioclaudio wrote:

Hi,
is it possible, with Ionic4, to use a custom icon in an “ion-fab-button”?

I’d like to replace the bicycle icon with a custom icon.

<ion-fab-button color="warning"><ion-icon name="bicycle"></ion-icon></ion-fab-button>

If it is possible, which should be the format of the image?

Thank you

claudio

Posts: 1

Participants: 1

Read full topic

Custom Plugin Ionic 4

Ionic v4 custom plugin

Viewing all 70440 articles
Browse latest View live


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