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

How to push ionic content above keyboard

$
0
0

Thanks, @indraraj26. I later figure out the issue was because I am using this.statusBar.overlaysWebView(true); on my app module.ts. I have removed it and the weird behavior is not been observed. By the way, i will see how i can eventually use it if at all there’s a way to use the overlaywebview. By the way, I was not using content fixed on the ion-content.


Ionic 4 - Right way to display local PDFs in Android/IOS

$
0
0

There is a stenciljs version that is very impressive. Sorry that I don’t remember the name.

Displaying PDF in iframe in native

$
0
0

When I move the app to Android and go to the page with the iframe PDF, I just get a blank screen.

Ionic 4 - Right way to display local PDFs in Android/IOS

$
0
0

I’ve never used that. Can you point me to any examples of this working with iconic 4?

ERR_CLEARTEXT_NOT_PERMITTED in debug app on Android

$
0
0

The purpose is just to let you to reinstall the Cordova version 7.

How to debug IONIC

$
0
0

Excelent!! I didn’ know about that… Thanks.

Class extends value undefined is not a constructor or null [ng] TypeError: Class extends value undefined is not a constructor or null

$
0
0

I am new to this forum. I hope to get a resolution to the below issue i am facing after installing capacitor. It seems like this issue has multiple flavors and kind of related to circular dependencies. But i could not see where the circular dependency is happening in my code. Therefore I am posting the log here and hoping that someone might see a hint.

Class extends value undefined is not a constructor or null

[ng] TypeError: Class extends value undefined is not a constructor or null

[ng] at Object. (D:\projects\myproject\node_modules@ionic\angular-toolkit\builders\cordova-serve\index.js:30:52)

[ng] at Module._compile (internal/modules/cjs/loader.js:689:30)

[ng] at Object.Module._extensions…js (internal/modules/cjs/loader.js:700:10)

[ng] at Module.load (internal/modules/cjs/loader.js:599:32)

[ng] at tryModuleLoad (internal/modules/cjs/loader.js:538:12)

[ng] at Function.Module._load (internal/modules/cjs/loader.js:530:3)

[ng] at Module.require (internal/modules/cjs/loader.js:637:17)

[ng] at require (internal/modules/cjs/helpers.js:22:18)

[ng] at Architect.getBuilder (D:\projects\myproject\node_modules@angular-devkit\architect\src\architect.js:189:35)

[ng] at MapSubscriber.getBuilderDescription.pipe.operators_1.map [as project] (D:\projects\myproject\node_modules@angular-devkit\architect\src\architect.js:121:332)

[ng] at MapSubscriber._next (D:\projects\myproject\node_modules\rxjs\internal\operators\map.js:49:35)

[ng] at MapSubscriber.Subscriber.next (D:\projects\myproject\node_modules\rxjs\internal\Subscriber.js:67:18)

[ng] at TapSubscriber._next (D:\projects\myproject\node_modules\rxjs\internal\operators\tap.js:65:26)

[ng] at TapSubscriber.Subscriber.next (D:\projects\myproject\node_modules\rxjs\internal\Subscriber.js:67:18)

[ng] at MergeMapSubscriber.notifyNext (D:\projects\myproject\node_modules\rxjs\internal\operators\mergeMap.js:92:26)

[ng] at InnerSubscriber._next (D:\projects\myproject\node_modules\rxjs\internal\InnerSubscriber.js:28:21)

Passing variables with ion-back-button

$
0
0

How can I pass a variable to the previous component on click of the back button?


Show part of content as preview

Passing variables with ion-back-button

$
0
0

Many ways exist. You could attach a listener on back button keypress and send parameters to the target page using NavParams or you can store in ionic storage and retrieve them in the other page.

Cordova-plugin-filepath: Unable to resolve filesystem path

$
0
0

bro please tell me where i pass key for sending image data in multipart please help?

Bug in Ionic Studio 0.0.63

$
0
0

Hi,
In Ionic Studio version 0.0.63 I cannot edit and save files in project.
I tried to write something and save, but studio clear my text and cursor back to the top of file

Error: Command failed: platform-tools/adb -s DEVICEID shell getprop

$
0
0

I’m using Ionic 4 and Cordova 9 and I would like to run the app on my device.
I got an error when using the run command:

Command

ionic cordova run android --device

Error (DEVICEID - My Device ID)

Error: Command failed: P:\Simplifiedpath\platform-tools/adb -s DEVICEID shell getprop

When using –verbose, I get those details:

ionic:lib:shell Error in subprocess stdout pipe: Error [ERR_STREAM_WRITE_AFTER_END]: write after end at writeAfterEnd (_stream_writable.js:248:12) at Object.Writable.write (_stream_writable.js:296:5) at Readable.write (C:\Simplifiedpath\npm\node_modules\ionic\node_modules\stream-combiner2\node_modules\readable-stream\lib\_stream_readable.js:85

What’s the point about this error ?

Uncaught TypeError: (intermediate value).fill is not a function

$
0
0

same problem here with cordova 8.0 and cordova-plugin-ionic-webview 4.0.1

Ion label in the same line ionic 4 text-wrap not working

$
0
0

You may try to use it in the scss file:

.myWrap{
    white-space: pre-wrap !important;
}

There are others to try also like:

white-space: pre-wrap !important;
white-space: pre-line !important;
white-space: normal !important;


Ion datetime . is it possible to place label of each one

$
0
0

40

I have to show month, day, hour,minute…
but to show it on one page could make people confused…
so I think I should label each one displaying this one is month, and that one is day…etc…
is it possible to place those label on top of each one?

Saving items in array and retrieving array in different page

$
0
0

I’m also a novice but what if the two pages had parent-child relationship and you could use @Input decorator? Maybe someone could add on that.

How to publish Ionic 4 components on NPM?

$
0
0

Good evening,

I have created some custom components in my Ionic 4 app and now I would like to publish them on a private NPM to share them for other Mobile apps and Web apps so I can reuse them.

Is there a way to publish only my “components” folder to NPM?

I also took a look to Stencil but I see that I need to create components in vanilla Javascript, instead to use Ionic 4.

Thanks in advance for your help and for your suggestions!

Regards,
Andrea

Iondatetime...not applying date to ngModel

$
0
0
<ion-datetime  style="display:none"
          #datePicker4 (ionChange)="timeselect2()"
          displayFormat="M/D a:hh:mm"
          pickerFormat="M/D a:hh:mm"
          [(ngModel)]="deathdate">
          </ion-datetime>


when I clicked it , it shows Month date, hour,minutes well
but the problem is that when I set specific date,
it comes to timeselect2 function which log deathdate.
but deathdate value only show hour and month…

why is it?

Scroll on Modal does not work

$
0
0

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

Viewing all 228554 articles
Browse latest View live


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