question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Working in browser and ionic lab, not working on device android and ios

See original GitHub issue

Hello,

Thanks a lot for this plugin that sounds awesome. I succeeded to make it working within my app on browser and with ionic lab, but not on mobile, both on Android and iOS. The picture is never displayed and the spinner keeps rotating. I tried to enable the debug mode but I cannot see any log with adb logcat or in Xcode’s console… Could anyone let me know what I could do to investigate where is the problem? Thanks!

Here is below my ionic info

Ionic:

   ionic (Ionic CLI)  : 4.9.0 (/usr/local/lib/node_modules/ionic)
   Ionic Framework    : ionic-angular 3.9.2
   @ionic/app-scripts : 3.2.3

Cordova:

   cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
   Cordova Platforms     : android 7.1.4, browser 5.0.3, ios 4.5.5, windows 6.0.1
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.2, cordova-plugin-ionic-webview 1.2.1, (and 23 other plugins)

System:

   Android SDK Tools : 25.2.5 (/usr/local/Cellar/android-sdk/24.1.2/)
   ios-deploy        : 1.9.2
   NodeJS            : v10.15.3 (/usr/local/bin/node)
   npm               : 6.4.1
   OS                : macOS Mojave
   Xcode             : Xcode 10.1 Build version 10B61

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11

github_iconTop GitHub Comments

4reactions
emilio-ferrercommented, Mar 21, 2019

hello @pierresh I had the same problem, but I downgrade the plugin to version 6.3.2 and this is fine. npm i --save ionic-image-loader@6.3.2

2reactions
pierreshcommented, Mar 21, 2019

@eferrert Yes, I confirm it works with 6.3.2, and this even solve the issue #215 , thanks! Version 6.3.3 seems not stable.

Read more comments on GitHub >

github_iconTop Results From Across the Web

App working in browser, broken on Android and iOS Emulator
So to debug your problem, just run 'ionic run android' and use Chrome remote debugging or run 'ionic run ios' and use Safari...
Read more >
My Ionic app works fine on browser but does not open in my ...
Since its much easier to see the error logs . Try ionic emulate android -l or ios -l (whichever OS you are building...
Read more >
The 9 Most Common Mistakes That Ionic Developers Make
The majority of developers using Ionic will want their app to run on iOS and Android. After adding the platforms ionic platform add...
Read more >
Resolving Ionic Serve lab JS error
I'm not an advocate of 'hacking' application source code (there's no guarantee that such hacks won't break other functionality and software updates can...
Read more >
The Good and the Bad of Ionic Mobile Development - AltexSoft
As long as Ionic apps work only via a webview, the device's browser can be used for testing the app. It is much...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found