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

Changes are not reflectiong to apk

$
0
0

Hello Everyone,
I was following the Moodle Documentation where i downloaded the repo and npm run setup which helps to setup project.
Then i used Ionic serve --browser chrome
it opens the app in chrome browser and also loads all Js files.
I can able to make changes and in Js files and i can see the changes reflected in browser.
When I’m trying to convert it into apk by using
npm run ionic:build – --prod
cordova run android
these commands helps in getting APK bt the changes i made in JS files are not reflecting


Liquid Swipe

Changes are not reflectiong to apk

$
0
0

That’s correct. The Apk is build and installed on the device. It’s not made for live reloading the build folder, so just build a new apk.

Changes are not reflectiong to apk

$
0
0

Hey @EinfachHans,

Thanks for your response. But how i achieve that.
Is there any example or tutorial for that.

Liquid Swipe

$
0
0

Thanks for your reply.
For the gestures, I’ve seen different things and it’s not a problem.
It’s for the visual that I need help !

Changes are not reflectiong to apk

$
0
0

I’m New to Ionic and its my first project.
If i’m not wrong Everytime i run

cordova run android

It will create a new APK.
It will be grateful if u provide any resource.
Thank you

Open the keyboard using"mic"

$
0
0

Have someone any idea know ?
I’ve the same needs !
Thanks

Disable screen record in ionic 3

$
0
0

also i want to disabled screen recorders because am making a e learning app and the client wants his video so that no one can record it from app…how can i achieve? please help me out


WKWebView is being used but Apple keeps refusing the app

$
0
0

I’m using Cordova, if I search “UIWebView” I get a lot of results in Cordova files (CDV files) and one in the social sharing plugin. I’ll try to fix the plugin but what about the cordova files? Should I remove the platform and re-create it?

Adding image to alert controller

$
0
0

Try hardcoding styles in a style tag like in the example with style="border-radius: 2px"

Ionic Ibeacon React example

$
0
0

Is there any example for React setup of this… please share it with me!

Ion-datetime [min] doesn't refresh

$
0
0

Hello guys, I’m using ionic 4 and I have two pickers. The 2nd picker is “dependent” from the 1st one because the 1st one is the begin and the 2nd is the end. I wanted the 2nd picker to start at the date of the 1st picker. it works in the first time because the 1st picker is always filled, but when i change the first picker again, the date wont update. the min is alright, but the default value is not the min date and can lead to mistakes. how can I fix this? thank you

How to kill a page?

$
0
0

Hello guys,

I am using tabs in my ionic app… I have two tabs, when I click the 2nd tab, and click back to the 1st tab, the page is still there, and I want that, but when I click a certain button in the second tab, I want to kill that page.
How can I do this? I’m using router. Is there anyway to fix this?

Thanks

WKWebView is being used but Apple keeps refusing the app

$
0
0

What Cordova Version are you using?

Ionic 4.0.0 can't change the DIR dynamically as before with platfrom.sitDir('rtl') in ionic 3

$
0
0

This works like charm! Thanks for saving my hours!


Ionic v5 and react i18n

Any changes made to code not reflecting in build apk

$
0
0

I was following the Moodle Documentation where i downloaded the repo and npm run setup which helps to setup project.
Then i used Ionic serve --browser chrome
it opens the app in chrome browser and also loads all Js files.
I can able to make changes and in Js files and i can see the changes reflected in browser.
When I’m trying to convert it into apk by using
npm run ionic:build – --prod
cordova run android
( or )
ionic cordova platform rm android
ionic cordova prepare android
ionic cordova build android

these commands helps in getting APK bt the changes i made in JS files are not reflecting.
The files inside www/build/ are updating to normal state.

Ionic 5 auto complete

$
0
0

Hi,

As per your recommended i used the Ionic-selectable but when i run the ionic i am getting below error

[ng] ERROR in node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable-modal.component.d.ts:13:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 13 get _canClearCssClass(): boolean;
[ng] ~~~~~~~~~~~~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable-modal.component.d.ts:14:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 14 get _isMultipleCssClass(): boolean;
[ng] ~~~~~~~~~~~~~~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable-modal.component.d.ts:15:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 15 get _isSearchingCssClass(): boolean;
[ng] ~~~~~~~~~~~~~~~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable-modal.component.d.ts:16:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 16 get _isIos(): boolean;
[ng] ~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable-modal.component.d.ts:18:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 18 get _isAddItemTemplateVisibleCssClass(): boolean;
[ng] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable.component.d.ts:16:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 16 get _isMultipleCssClass(): boolean;
[ng] ~~~~~~~~~~~~~~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable.component.d.ts:17:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 17 get _hasValueCssClass(): boolean;
[ng] ~~~~~~~~~~~~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable.component.d.ts:18:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 18 get _hasPlaceholderCssClass(): boolean;
[ng] ~~~~~~~~~~~~~~~~~~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable.component.d.ts:19:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 19 get _hasIonLabelCssClass(): boolean;
[ng] ~~~~~~~~~~~~~~~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable.component.d.ts:20:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 20 get _hasDefaultIonLabelCssClass(): boolean;
[ng] ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable.component.d.ts:21:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 21 get _hasFixedIonLabelCssClass(): boolean;
[ng] ~~~~~~~~~~~~~~~~~~~~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable.component.d.ts:22:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 22 get _hasStackedIonLabelCssClass(): boolean;
[ng] ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable.component.d.ts:23:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 23 get _hasFloatingIonLabelCssClass(): boolean;
[ng] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable.component.d.ts:44:17 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 44 private get _hasInfiniteScroll();
[ng] ~~~~~~~~~~~~~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable.component.d.ts:45:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 45 get _shouldStoreItemValue(): boolean;
[ng] ~~~~~~~~~~~~~~~~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable.component.d.ts:70:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 70 get label(): string;
[ng] ~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable.component.d.ts:79:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 79 get searchText(): string;
[ng] ~~~~~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable.component.d.ts:80:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 80 set searchText(searchText: string);
[ng] ~~~~~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable.component.d.ts:89:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 89 get isSearching(): boolean;
[ng] ~~~~~~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable.component.d.ts:98:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 98 get hasSearchText(): boolean;
[ng] ~~~~~~~~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable.component.d.ts:99:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 99 get value(): any;
[ng] ~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable.component.d.ts:100:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 100 set value(value: any);
[ng] ~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable.component.d.ts:117:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 117 get isEnabled(): boolean;
[ng] ~~~~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable.component.d.ts:118:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 118 set isEnabled(isEnabled: boolean);
[ng] ~~~~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable.component.d.ts:126:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 126 get shouldBackdropClose(): boolean;
[ng] ~~~~~~~~~~~~~~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable.component.d.ts:127:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 127 set shouldBackdropClose(shouldBackdropClose: boolean);
[ng] ~~~~~~~~~~~~~~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable.component.d.ts:160:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 160 get isOpened(): boolean;
[ng] ~~~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable.component.d.ts:178:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 178 get hasConfirmButton(): boolean;
[ng] ~~~~~~~~~~~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable.component.d.ts:179:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 179 set hasConfirmButton(hasConfirmButton: boolean);
[ng] ~~~~~~~~~~~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable.component.d.ts:232:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 232 get isOnSearchEnabled(): boolean;
[ng] ~~~~~~~~~~~~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable.component.d.ts:233:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 233 set isOnSearchEnabled(isOnSearchEnabled: boolean);
[ng] ~~~~~~~~~~~~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable.component.d.ts:241:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 241 get canClear(): boolean;
[ng] ~~~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable.component.d.ts:242:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 242 set canClear(canClear: boolean);
[ng] ~~~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable.component.d.ts:292:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 292 get isMultiple(): boolean;
[ng] ~~~~~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable.component.d.ts:293:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 293 set isMultiple(isMultiple: boolean);
[ng] ~~~~~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable.component.d.ts:475:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 475 get itemsToConfirm(): any;
[ng] ~~~~~~~~~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable.component.d.ts:524:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 524 get canAddItem(): boolean;
[ng] ~~~~~~~~~~
[ng] node_modules/ionic-selectable/src/app/components/ionic-selectable/ionic-selectable.component.d.ts:525:9 - error TS1086: An accessor cannot be declared in an ambient context.
[ng] 525 set canAddItem(canAddItem: boolean);
[ng] ~~~~~~~~~~
[ng]
[ng] Date: 2020-06-03T11:10:16.209Z - Hash: 5df49524bee9a66cb61e - Time: 30041ms

kindly check and let me know

i am using ionic 5 version

Thanks in advance

Why when creating an Ionic Angular project with Capacitor, the angular.json file is not created?

$
0
0

Makes sense.

I just copied the example from the documentation, without reading the other options, thinking that the ionic-angular angle was the type I wanted.

Ion-item content is having issue with ion-content-space-between

$
0
0

in ionic item i have three items
1- avatar
2- Name
3- an image
the problem is that i want avatar and name should be left align but the image should be right align.

i have tried all the stuff like ion-content-space-between property between name and image and also tried the image with float:right property but nothing is working yet.

my ion-item code is:-

 <ion-item color="lightPink" class="item4">  
        <ion-img slot="start" class="person-logo" src="../../assets/no upcoming ride/Group 21193.png"> 
 </ion-img>
        <p class="name">Joselyn joseph</p> 
         <ion-label>
          <ion-img  class="car"  src="../../assets/no upcoming ride/icon car 3.png"></ion-img>
          <p>HOT RIDE</p>
        </ion-label>
        <ion-label>
          <img  class="car"  src="../../assets/no upcoming ride/icon car 3.png">
          <figcaption>HOT RIDE</figcaption>
        </ion-label>
</ion-item>

one more help i need is that how to move in the next line for further addition of a

tag.
currently it start adding on the right side of the image

thanks.

Viewing all 231637 articles
Browse latest View live


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