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

sendKeys not working using Appium automation for Hybrid app

$
0
0

But using xpath is not a reliable option right? because xpath varies for each of the device ?


Change Color Input Underline

$
0
0

This worked for me in Ionic5 - in my case I had a field that I needed closed for update, and although readonly inhibited keying into the field, I also wanted the valid/invalid bottom border color to be inhibited as well. I didn’t want to use protected as it faded the label and text more than I wanted, so I added my own CSS class closed to the item level

    <ion-item class="closed">
      <ion-label position="floating">Name</ion-label>
      <ion-input type="text" 
                 readonly="readonly"  
                 [(ngModel)]="name"
                 name="name">
      </ion-input>
    </ion-item>

In global.css I added

.closed {
  color:#666;
  --highlight-background: transparent;
}

I hope this helps

New ways to debug components in Angular 9

$
0
0

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

Dealing with breaking change in Ionic 5

Change the radius of the Ripple effect

$
0
0

Hi,

Is there a way to change to radius size of the ripple effect in ionic ?
I’d like to use it for the ion-tabs components

thanks

Ionic push notification using fcm?

$
0
0

if your app is in background it will not alert till the user click on notification.

[SOLVED] [Ionic 4] Need to know how to work the Modal Controller

$
0
0

Clear answer!! It helped me a lot!! Thanks!

ERR_CLEARTEXT_NOT_PERMITTED in debug app on Android

$
0
0

With the base-config section added, it works for me. thank you very much.


Ionic 4 menu with user role based authentication

$
0
0

Hi All,

Pls let me know how to manage different user types during login to ionic4

[Ionic v4 (ionic-tooltips)] Can't bind to 'ngIf' since it isn't a known property of 'div'

$
0
0

Hi there, I have also the same problem. please help me.

ERR_INVALID_ARG_TYPE when running ionic serve for first time

$
0
0

Hello all,

I am new to Ionic and must say I am loving it at first glance but I have encountered a rather frustrating issue. I’m running through the ionic tutorial at https://ionicframework.com/docs/react/your-first-app although I’m sure this issue has appeared elsewhere:

TypeError [ERR_INVALID_ARG_TYPE]: The “path” argument must be of type string. Received type undefined
at validateString (internal/validators.js:112:11)
at Object.join (path.js:375:7)
at noopServiceWorkerMiddleware (C:\Users\User\Documents\dev\tideinfo_app_ionic_gallery\photo-gallery\node_modules\react-dev-utils\noopServiceWorkerMiddleware.js:14:26)
at Layer.handle [as handle_request] (C:\Users\User\Documents\dev\tideinfo_app_ionic_gallery\photo-gallery\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\Users\User\Documents\dev\tideinfo_app_ionic_gallery\photo-gallery\node_modules\express\lib\router\index.js:317:13)
at C:\Users\User\Documents\dev\tideinfo_app_ionic_gallery\photo-gallery\node_modules\express\lib\router\index.js:284:7
at Function.process_params (C:\Users\User\Documents\dev\tideinfo_app_ionic_gallery\photo-gallery\node_modules\express\lib\router\index.js:335:12)
at next (C:\Users\User\Documents\dev\tideinfo_app_ionic_gallery\photo-gallery\node_modules\express\lib\router\index.js:275:10)
at launchEditorMiddleware (C:\Users\User\Documents\dev\tideinfo_app_ionic_gallery\photo-gallery\node_modules\react-dev-utils\errorOverlayMiddleware.js:20:7)
at Layer.handle [as handle_request] (C:\Users\User\Documents\dev\tideinfo_app_ionic_gallery\photo-gallery\node_modules\express\lib\router\layer.js:95:5)
at trim_prefix (C:\Users\User\Documents\dev\tideinfo_app_ionic_gallery\photo-gallery\node_modules\express\lib\router\index.js:317:13)
at C:\Users\User\Documents\dev\tideinfo_app_ionic_gallery\photo-gallery\node_modules\express\lib\router\index.js:284:7
at Function.process_params (C:\Users\User\Documents\dev\tideinfo_app_ionic_gallery\photo-gallery\node_modules\express\lib\router\index.js:335:12)
at next (C:\Users\User\Documents\dev\tideinfo_app_ionic_gallery\photo-gallery\node_modules\express\lib\router\index.js:275:10)
at handleWebpackInternalMiddleware (C:\Users\User\Documents\dev\tideinfo_app_ionic_gallery\photo-gallery\node_modules\react-dev-utils\evalSourceMapMiddleware.js:42:7)
at Layer.handle [as handle_request] (C:\Users\User\Documents\dev\tideinfo_app_ionic_gallery\photo-gallery\node_modules\express\lib\router\layer.js:95:5)

Here are the commands I have ran to get to where I am. I have ran ionic serve for the first time and this is what I see.

npm install -g @ionic/cli native-run cordova-res
ionic start photo-gallery tabs --type=react --capacitor
cd photo-gallery
npm install @ionic/react-hooks @ionic/pwa-elements

Then I add:
import { defineCustomElements } from ‘@ionic/pwa-elements/loader’;

// Call the element loader after the platform has been bootstrapped
defineCustomElements(window);

to src/index.tsx as per instructions.

I’ve looked at various posts on this and can find similar but none which address my issue. Being a noob I am struggling. Having read various posts my money would be on it being related to node/react versions etc. Here are relevant environment details:

node v12.13.1
npm 6.12.1
windows 10.

Any ideas would be appreciated. Thanks.

ERR_INVALID_ARG_TYPE when running ionic serve for first time

$
0
0

Same error here, some dependency was updated and make the crash

How to add custom icons to ion-icons in ionic-v4

An error occurred while running subprocess cordova. cordova.cmd platform add android exited with exit code 1.

$
0
0

[ERROR] An error occurred while running subprocess cordova.

    cordova.cmd platform add android exited with exit code 1.

    Re-running this command with the --verbose flag may provide more information.

Install Ionic Fork locally

$
0
0

Is the part you’re trying to hack on in core, angular, or both?


Events not worked in ionic 6.1.0

$
0
0

Ugh. I get that it’s probably well-intentioned, but anybody who follows that blog is just going to end up reinventing all the flaws of Ionic Events. As for the code you posted in this thread, I would suggest anybody interested in using it:

  • get rid of any: a major benefit of using Observables here is type-checking
  • not use providedIn: 'root' because it prevents mocking
  • actually return an Observable from getObservable(), because the whole point of gating it behind a method is to prevent unexpected access through the Subject interface

Ionic 4 menu with user role based authentication

$
0
0

Please define “manage”, “different”, “user types”, and what “login to ionic4” means.

Ionic doc- no installation information

Err_cleartext_not_permitted

$
0
0

Does your problem persist when using an HTTPS endpoint and a proper hostname instead of a raw IP address?

Im trying to archive a search form input

$
0
0

I am trying to create a search form, with text input and a button, when the button is pressed it must fetch a single value. sorry my english

Viewing all 228603 articles
Browse latest View live


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