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

Ionic 4 Themes & templates

$
0
0

Hi, I want to say that how can I download ionic 4 premium themes or templates for free? or if you have any ionic 4 premium template then please share with me in inbox, thanks


Run webView with https

$
0
0

This is kind of a big problem. Many 3rd parties require https origins these days. Any work arounds?

Ionic 4 Themes & templates

$
0
0

What do you mean by “premium” here? You’re not trying to troll for warez on a community support forum, right?

Run webView with https

$
0
0

Are you sure about that? This thread seems specifically to be about Ionic internals, so:

I’m not seeing how 3rd parties would be involved at all in how the Ionic app gets at stuff that’s baked into its bundle.

Can you describe the problem you’re actually encountering? If it doesn’t have to do with stuff that’s bundled with the app, maybe a new thread would be a better choice than this one.

Getting reactive form values in Angular 4

Getting reactive form values in Angular 4

$
0
0

it’s too easy, if you are getting value from ngmodel than check every from have different name for each control.

Getting reactive form values in Angular 4

$
0
0

check the stackblitz link. I’m using reactive form and there are some cases where multiple slides have same type of form.

Trouble opening menu after navigation to second page

$
0
0

If i go to another page menu is not opening, i need to refresh the whole page for opening up the menu.
So someone has any idea why it’s happening?


Getting reactive form values in Angular 4

$
0
0

I don’t understand why you’re using slides here at all. Swiper and the form inputs are going to fight over focus and input events in irreconcilable fashion. So I would lose the slides entirely.

For getting answers back, the easiest thing to do would be to put an @Output EventEmitter on the McComponent and bind it out in the parent. Another option would be to implement ControlValueAccessor in McComponent, turning it into a custom form control that can be attached to a reactive form directly.

Whatever you do, I would make it a priority to get the need for binding i into the McComponent to go away. As long as that exists, the component handling the question is too tightly coupled to its host.

How to access a particular value from json.i

$
0
0

Thanks for clarification. I will migrate from localstorage to ionic storage.

Ionic 3 and Google Play App Signing

$
0
0

I was having same issue i solved it by using

ionic cordova build android --prod --release
keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore HelloWorld-release-unsigned.apk alias_name
zipalign -v -p 4 HelloWorld-release-unsigned.apk HelloWorld.apk
apksigner sign --ks my-release-key.keystore HelloWorld.apk

If sign --ks my-release-key.keystore HelloWorld.apk gives any error
C:\Users\PC Name\AppData\Local\Android\Sdk\build-tools\29.0.3
Here you can find the akpsiger, The apksigner tool, available in revision 24.0.3 and higher of the Android SDK Build Tools. Add this in your The apksigner tool, available in revision 24.0.3 and higher of the Android SDK Build Tools, Add this to your path so that you can use apksigner.
Hope this will help.

How to run Ionic 3 and Ionic 4 environments on same machine without conflicts on macOS

$
0
0

Hi I managed to make it work by installing cli globally.

Sorry for confusing you.

Thanks for replying :slight_smile:

Not able to install Ionic and Cordova using NPM on Windows 10

Ionic 5 & Phaser 3

$
0
0

Hi,

i tried this, but i still got this error:
ERROR TypeError: "game.load is undefined"

I dont know what to do :thinking:

How to get current ion-slide in html element id in Ionic?

$
0
0

I am using ion-slide and in slide i added a HTML video element, i want to get id of active ion-slide video element when slide change.

here my ts code:

@ViewChild(IonSlides, { static: false }) slides: IonSlides;
slideOpts = {
    direction: 'vertical'
  }
  mainArray = [
    {
      id: 0,
      thumbnailUrl: 'https://i.picsum.photos/id/803/200/300.jpg',
      mp4: 'https://www.w3schools.com/html/mov_bbb.mp4',
      ogg: 'https://www.w3schools.com/html/mov_bbb.ogg'
    },
    {
      id: 1,
      thumbnailUrl: 'https://i.picsum.photos/id/803/200/300.jpg',
      mp4: 'https://www.w3schools.com/html/mov_bbb.mp4',
      ogg: 'https://www.w3schools.com/html/mov_bbb.ogg'
    },
    {
      id: 2,
      thumbnailUrl: 'https://i.picsum.photos/id/803/200/300.jpg',
      mp4: 'https://www.w3schools.com/html/mov_bbb.mp4',
      ogg: 'https://www.w3schools.com/html/mov_bbb.ogg'
    },
    {
      id: 3,
      thumbnailUrl: 'https://i.picsum.photos/id/803/200/300.jpg',
      mp4: 'https://www.w3schools.com/html/mov_bbb.mp4',
      ogg: 'https://www.w3schools.com/html/mov_bbb.ogg'
    },
  ]



   playvideo() {
    let videoPlayer1: HTMLVideoElement = <HTMLVideoElement>document.getElementById(this.mainArray[this.index].id)
    videoPlayer1.pause();
    videoPlayer1.currentTime = 0;
    const playPromise = videoPlayer1.play();
    if (playPromise !== null) {
      playPromise.catch(() => {
        videoPlayer1.play();
        videoPlayer1.autoplay = true;
      })
    }
  }

  slideDidChange(ev: any) {
    console.log('slideDidChange: ', ev);
  }

  slideWillChange(ev: any) {
    console.log('slideWillChange: ', ev);
  }

Here my HTML

<ion-slides #slides [options]="slideOpts" (ionSlideDidChange)="slideDidChange(slides)"
    (ionSlideWillChange)="slideWillChange(slides)">
    <ion-slide *ngFor="let videoUrl of mainArray">
      <video [id]="videoUrl.id" poster='{{videoUrl.thumbnailUrl}}' preload="none" controls>
        <source src="{{videoUrl.mp4}}" type="video/mp4" autostart="false">
        <source src="{{videoUrl.ogg}}" type="video/ogg" autostart="false">
        Your browser does not support HTML5 video.
      </video>
    </ion-slide>
  </ion-slides>

In this example i am trying to play video of active slide by html video element id. Please help…


Ionic 5 & Phaser 3

$
0
0

Whether or not it solves your problem

Game should be declared as member of the class and not at the global level

Then address it through this.game

Push get Token

$
0
0

We have changed the owner of our app
Since (I don’t know if it’s related) old users in the system do not receive notifications
I thought maybe we should manually update their token

InAppbrowser not working in Android Emulator

How to trigger a function when the ion-menu-button is closed in ionic

$
0
0

How to trigger a function when the ion-menu-button is closed in ionic. I have a ion-menu-button like this

<ion-buttons slot="end"   >
      <ion-menu-button menu="admin"  >
          <ion-icon name="more" ></ion-icon>
      </ion-menu-button>
    </ion-buttons>

please help me by telling how to trigger a function when the ion-menu-button is closed

https://imgur.com/a/Vz2XpGq …This is the menu list

Ionic Ios app on TestFlight not able to test by Internal testers

$
0
0

Hi All
I uploaded ionic iOS build from Azure DevOps pipeline to TestFlight.
Build is successful its also showing testing but invitation to test build is not triggering to internal testers.
When I searched on web I found below link which says to edit info.plist.
https://stackoverflow.com/questions/60162448/not-showing-update-for-internal-testers-in-testflight-for-new-build

Based on this my question is
1.Can we edit info.plist which is inside our platform folder and add related keys?

I am stuck for my app testing
someone please reply

Thanks

Viewing all 228595 articles
Browse latest View live


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