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

Dynamically import a scss depending on the environment/logic

$
0
0

Hi Guys,

I have two css/scss file i need to load this files in particular page only

Example
if(mydata==“strt”
{
//load one.css/one.scss
}
else
{
//load two.css/two.scss
}

Please suggest me two solve this.


Firebase App unable to Compile on Android with AAPT error

$
0
0

Does any one facing http request failure while running the app in real deviecs. I am unable to open http urls but https services are working fine.

Ionic 3 PWA SEO & Sharing Problem

$
0
0

same problem here. i want to host pwa at firebase. did you find any solutions?

How to have a custom history and display the back buttons on a deep link?

$
0
0

Does the hardware back button work in this case?

How to have a custom history and display the back buttons on a deep link?

$
0
0

Yes, hardware back button also perform same work.

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

$
0
0

Thanks for the response, Now i don’t get the error for allow intent not set, no errors at all. But there is no navigation happening.
I set the following

  1. allow-intent for ionic:*
  2. allow-intent for unsafe:*
  3. allow-navigation for both of the above with ///

And more so the State is missing so had to switch back to href

BLE challenge

$
0
0

Hi everyone.
I have a challenge that surpasses me.
I write application to communication with device with the use bluetooth low energy (BLE).On device BLE communication is based on the ATMEL CSC software framework. At the beginning I will mark that Bluetooth Serial (https://ionicframework.com/docs/native/bluetooth-serial) plugin does’t connect with device.

I use BluetoothLE plugin https://ionicframework.com/docs/native/bluetooth-le. (github docs https://github.com/randdusing/cordova-plugin-bluetoothle)

Connection, discoverd all services, subscribtion on service works perfectly.

Problem:

I have no idea how to send a request for the parameters and answer the answer. I use the https://play.google.com/store/apps/details?id=com.microchip.bluetooth.data&hl=en application that allows “chat” with the device and there I can send such a rare payment and I get an answer but I do not know how to solve it in my application. Perhaps I should do the right steps in the right order, but I do not have any ideas anymore.

method bluetoothle.discover() returns:

Apple review found problems on iPad running iOS 12.3.1 (ionic 3)

$
0
0

Apple says they found a problem with a button not doing anything on an iPad running iOS 12.3.1 . As I can’t get my hands on any iPad running iOs 12.3.1, I wanted to know if there is any way to get a simulator with iOS 12.3.1 .
There are many people having problems with this particular iOS version when uploading an App.


Floating Action Button as Input type="file"

$
0
0

Hi everyone,
i’m developing an app and i want this layout:

Audio List (expandable)
Video List (expandable)
Image List (expandable)

FAB at the bottom -> if pressed i need to open a “file manager” like <input type="file">

i tried to put the <input> component in fab component, but this is the result.

<ion-fab vertical="bottom" horizontal="center" slot="fixed">
    <ion-fab-button>
      <ion-input type="file">
      </ion-input>
      <ion-icon name="add"></ion-icon>
    </ion-fab-button>
  </ion-fab>

how can i do? i’d like to not use plugins (if possible)
can i add the <input type="file"> functionality to a FAB?

thanks for the help

Images not loading in mobile

$
0
0

Hi,

I am facing same issue with ionic 5.
my .scss file :
.bg-image{
–background: url(’/assets/img/bg2.png’) repeat center center fixed ;
–background-size: cover;
}
.no-scroll .scroll-content {
overflow: hidden;
}
html :

I have tried different path combinations suggested in discussion. none of them works !
Please help, thanks in advance.
-Vanisree

Images not loading in mobile

$
0
0

hi,

did you manage to fix the issue ?

Change google maps map type [ SOLVED ]

$
0
0

It’s already resolved. I removed it from the options and after creating the map I changed the type.

map.setMapTypeId(GoogleMapsMapTypeId.HYBRID);

Gracias.

Firebase App unable to Compile on Android with AAPT error

$
0
0

This solution solved my problem Thanks a lot…I was banging my head from yesterday

[Slides] How to make Infinity Slides in ionic?(with dynamic content)

$
0
0

I’m also intereted on it
Is out there any solution?
Thanks

Looking for freelance talented Ionic 4 Dev and UI person

$
0
0

Hello Brad,

I have extensive experience with ionic framework, HTML5, CSS3, Angular.JS, Node.JS, Express.JS, Firebase, MongoDB, Bootstrap, JavaScript.

Developed 100+ ionic apps.

You can reach me at :

Email - irshadgouri92@gmail.com
Skype - irshad050992


Developer needed to break down UI into Ionic 4 for iPhone mobile app templates

$
0
0

Hello @Humuhumufush ,

I have extensive experience with ionic framework, HTML5, CSS3, Angular.JS, Node.JS, Express.JS, Firebase, MongoDB, Bootstrap, JavaScript.

Developed 100+ ionic apps.

You can reach me at :

Email - irshadgouri92@gmail.com
Skype - irshad050992

Ionic 4 release build error

$
0
0

Hi all , i update cordova-android version to 8 and try to build app with below command.
ionic cordova build android --prod --release
here i got an error.
this doesn’t happen in debug environment.

Ion-select-option Not fire (ionSelect) event

$
0
0

Regarding ionic select in v3 I used the below code where we have (ionSelect) in ion-option to fire select option event.

        <ion-option selected="true">Standard tone</ion-option>
        <ion-option *ngFor="let tone of ringtones;" [value]="tone.Url" (ionSelect)="playSound($event)">{{tone.Name}}</ion-option>
     </ion-select>
Let me know alternate in ionic 4 since in v4 not supporting `(ionSelect)`

Dismiss a LoadingController

$
0
0

I place it right in the error handler and its shooting undefined which does not makes sense at all

Ionic 4 bugs on Android 7 emulator

$
0
0

Ionic 4 has some bugs on Android 7 emulator.
For example --ion-grid-columns and ion-img not working.

Ion grid columns example bug

Just install blank app and add:

<ion-grid>
    <ion-row class="ion-justify-content-start">
      <ion-col size="12">
        <div>
          1 of 2
        </div>
      </ion-col>
      <ion-col size="4">
        <div>
          2 of 2
        </div>
      </ion-col>
    </ion-row>
  </ion-grid>

In css:

ion-grid {
    --ion-grid-columns: 16;
}

Result:

I’ve read this post and understand that emulator has legacy browser. But i can’t be sure that users with real devices have latest Chrome browser with latest webview. Is it possible fix this bugs on “old webview” (using polyfills or somehow else)?

Emulator User-Agent

Mozilla/5.0 (Linux; Android 7.0; Android SDK built for x86 Build/NYC; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/51.0.2704.90 Mobile Safari/537.36

Ionic info
Ionic:

   ionic (Ionic CLI)             : 4.12.0 (/usr/local/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.5.0
   @angular-devkit/build-angular : 0.13.9
   @angular-devkit/schematics    : 7.3.9
   @angular/cli                  : 7.3.9
   @ionic/angular-toolkit        : 1.5.1

Cordova:

   cordova (Cordova CLI) : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms     : android 8.0.0
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.1.1, (and 4 other plugins)

System:

   Android SDK Tools : 26.1.1 (/Users/user155266/Library/Android/sdk)
   ios-deploy        : 1.9.4
   ios-sim           : 8.0.1
   NodeJS            : v10.15.3 (/usr/local/bin/node)
   npm               : 6.9.0
   OS                : macOS Mojave
   Xcode             : Xcode 10.2.1 Build version 10E1001
Viewing all 228529 articles
Browse latest View live


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