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

Tabs dont work correctly

$
0
0

Hi people!!

I have a problem, when I scroll my app the tabs move to the top, Do you know how can I fix it?
image image2

Here is my code…





{{ Usuario[0].Nombre }}




<img [src]=“image” />

{{ Usuario[0].Nombre }} {{Usuario[0].Apellido}}
{{ Usuario[0].Correo }} Perfil de usuario

Nombre

{{ Usuario[0].Nombre }}

Genero

{{Usuario[0].Genero}}

Puesto

{{ Usuario[0].Puesto }}

Telefono

{{ Usuario[0].Telefono }}

Cumpleaños

{{ Usuario[0].Cumple }}

Produccion
    <ion-tab-button (click)="switch()">
      <ion-icon name="power"></ion-icon>
      <ion-label>Switch</ion-label>
    </ion-tab-button>

    <ion-tab-button (click)="usuario()">
      <ion-icon name="person"></ion-icon>
      <ion-label>Usuario</ion-label>
    </ion-tab-button>
  </ion-tab-bar>
</ion-tabs>

Fetching WordPress rest API working on Browser but not on Device (CORS Enabled)

The sandbox is not sync with the podfile.lock

$
0
0

I’m having the same problem and I can not solve it.

PhaseScriptExecution [CP]\ Check\ Pods\ Manifest.lock /Users/easychurch/Library/Developer/Xcode/DerivedData/EasyChurch-gxkkxowhnaxudrfffwtdolwqcbfn/Build/Intermediates.noindex/EasyChurch.build/Debug-iphoneos/EasyChurch.build/Script-1BE53AB6687FE2613EDCF21B.sh (in target: EasyChurch)
    cd /Users/easychurch/projetos/ionic/mobile/platforms/ios
    /bin/sh -c /Users/easychurch/Library/Developer/Xcode/DerivedData/EasyChurch-gxkkxowhnaxudrfffwtdolwqcbfn/Build/Intermediates.noindex/EasyChurch.build/Debug-iphoneos/EasyChurch.build/Script-1BE53AB6687FE2613EDCF21B.sh

diff: /Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.```

Sheduled Local Notification not working

Ionic 4 + Lottie Splash screen

$
0
0

Hi Guys,

Did anyone tried installing and using the Lottie Splash Screen plugin from cordova to use custom animated splash screens? https://ionicframework.com/docs/native/lottie-splash-screen#usage

I’ve tried to install it myself on my Ionic 4 project but it seems the app crashed when running it, my ionic info is the following:

Ionic:

   ionic (Ionic CLI)             : 4.9.0 (C:\Users\rodrigomartinezjr\AppData\Roaming\npm\node_modules\ionic)
   Ionic Framework               : @ionic/angular 4.3.0
   @angular-devkit/build-angular : 0.12.4
   @angular-devkit/schematics    : 7.2.1
   @angular/cli                  : 7.3.0
   @ionic/angular-toolkit        : 1.3.0

Cordova:

   cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
   Cordova Platforms     : android 8.0.0, browser 5.0.4
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.0.1, (and 16 other plugins)

System:

   NodeJS : v10.14.1 (C:\Program Files\nodejs\node.exe)
   npm    : 6.7.0
   OS     : Windows 10

Thanks a lot!

Threejs for Ionic4 possible?

$
0
0

I see at least two generic issues:

Using function keyword and trying to do ui in the constructor.

Ditch the function declaration (not needed anyway and not to be used in any way in angular context- unless u know why you can) and put all other code in ngOnInit

Minor issue: using var instead of let or const

Regards

Tom

Component not working in ionic-v4

$
0
0

Thank you very much !! Really helped me.

HTTPS POST requests not working in release build


Tabs dont work correctly

$
0
0

Move out your tabs from the content.
You shouldn’t have your tabs/menu in the same page as the content of your page.

"export 'ICON_PATHS' was not found in 'ionicons/icons'

$
0
0

I get an error with your solution, but thanks for sharing.

Here’s the error:

error  in ./node_modules/ionicons/icons/index.mjs

Module build failed: Error: ENOENT: no such file or directory

Ionic 4 styling problem

$
0
0
ion-searchbar {
  .searchbar-input-container {
    .searchbar-input {
      border-radius: 10px !important;
      --background: rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.07) !important;
      box-shadow: none !important;
    }
  }
}

i have this style on my component’s scss and for some reason it doesn’t work. but when adding this same style on global.scss it works. any idea why?

Ion-slide slow to render when adding many slides in ionic-v4

$
0
0

Hi peoples!

I’m having terrible performance issues in ionic-v4 with the ion-slide element when adding many slides all at once. I have this same bit of code in ionic-v3 and it works seamlessly which is why I’m quite confused. Consider the code below:
.html

  <ion-slides [options]="sliderConfig" pager="false">
    <ion-slide *ngFor="let item of displayedSlides">
      <ion-card>
        {{ item.id }} {{ item.title}}
      </ion-card>
    </ion-slide>
  </ion-slides>
  <button (click)="setShortSlides()">Short Slides</button>
  <button (click)="setLongSlides()">Long Slides</button>

.ts

  sliderConfig = {
    slidesPerView: 1,
    spaceBetween: 10,
    centeredSlides: true
  };
  displayedSlides: SlidesObject[] = [];
  longSlides: SlidesObject[] = [];
  shortSlides: SlidesObject[] = [];

  ionViewDidLoad() {
    for (let i = 0; i < 122; i++){
      this.longSlides.push({
        id: i,
        title: 'long title ' + i
      });
    }
  
    for (let i = 0; i < 12; i++){
      this.shortSlides.push({
        id: i,
        title: 'short title ' + i
      });
    }
    this.displayedSlides = this.longSlides;
  }

  setLongSlides(): void {
    this.displayedSlides = this.longSlides;
  }

  setShortSlides(): void {
    this.displayedSlides = this.shortSlides;
  }

In ionic-v3 whenever you switch from the long list to the short list or visa versa the performance appears to be the same. However in ionic-v4 whenever I change from the long list to the short list the application updates without any issues. But when you change from the short to the long list the application hangs for a brief but noticeable amount of time, like a 1-2 seconds.

I’ve removed the ion-slide element and just used a div and the performance goes back to quick as expected but of course I then lack some of the functionality of the ion-slide.

Am I just totally misusing the element or is this maybe a bug?
Thanks in advance for any assistance!

I came with a problem in Ionic4 project:cloudn't overwrite ionic component'css

$
0
0

Try this:

ion-item { display: webkit box; overflow: hidden; }

It works for my when I was setting an <img> style inside an <ion-img>

ion-img: { border-radius: 5%; overflow: hidden; }

Of couse yo can use it with classes

Native HTTP plugin error

$
0
0

I have the exact same error. Did you guys find a solution?

Native HTTP plugin error

$
0
0

I found the error! I was setting the headers to
{ headers: { 'Content-Type':'application/json'} }
instead of
{ 'Content-Type':'application/json'}

Hope it helps.


Previous successful ionic appflow builds no longer building

$
0
0

i have the same issue, need help.

the only difference I notice is that I change the version of node.js and npm version.

Can someone help ?! ionic 1.3.3 on iOS 12 with error: not set for url='unsafe:ionic://localhost%23/menu/aboutUs'

$
0
0

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

Threejs for Ionic4 possible?

$
0
0

Will try and get back to you ASAP. Thanks for the help Tom.

Can someone help ?! ionic 1.3.3 on iOS 12 with error: not set for url='unsafe:ionic://localhost%23/menu/aboutUs'

$
0
0

Please try change tag,

<ion-item class="item-icon-right" menu-close ui-sref="#/example">

Threejs for Ionic4 possible?

$
0
0

Ok so I tried it and I still got the same error (which is where the object is being rendered for a split second and then disappears). I tried making everything original apart from home.page.ts, which is where the issue arises. I checked the console and the only popups that comes up “[WDS] Disconnected” , Angluar is running in developer mode, Native: tried calling Statusbar.styledefault & SplashScreen.hide, and finally “THREE.WebGLRenderer 106”

No idea what to do next… Please help me.

Viewing all 228535 articles
Browse latest View live


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