Questions tagged [hybrid-mobile-app]

A hybrid mobile app is an web application built with web technologies (HTML, JavaScript, CSS) that is then "wrapped" in native device code to extend the functionality and availability of the app.

A hybrid mobile app is an web application built with web technologies (HTML, JavaScript, CSS) that is then "wrapped" in native device code to extend the functionality and availability of the app. This shell of native code allows the developer to bridge the gap between JavaScript and native functionality, allowing your web application to access device features (like the Contact list, Camera, accelerometer, etc.) that otherwise would not be possible. Wrapping your code in native code has the added benefit of greatly increasing your app's availability and marketability, since now your web app can be submitted to various app stores.

Many different projects exist for creating native apps, including Apache Cordova (formally known as PhoneGap), Titanium SDK, and Sencha Touch.

2363 questions
25
votes
17 answers

cordova - Error: Failed to fetch platform android

I installed cordova and create a new project. But when I use this command to add android platform: cordova platform add android this error appears: Error: Failed to fetch platform android Probably this is either a connection problem, or platform…
Paili
  • 825
  • 5
  • 18
  • 30
25
votes
5 answers

What's the difference between "ionic build" and "ionic prepare"?

Just learning to use Ionic to build a hybrid application, and wasn't really able find a great deal of info on the ionic prepare command. Anyone happen to know what it is or what the difference between it and ionic build?
adesotamn
  • 251
  • 1
  • 3
  • 5
25
votes
7 answers

How to debug CSS in Android native browser?

I'm building an hybrid app with Cordova for Android. The HTML5/CSS3 is rendered properly with Chrome for desktop and Chrome for Android. However, through Cordova, the HTML5/CSS3 is rendered with the native browser (the application named "Internet").…
Yako
  • 3,405
  • 9
  • 41
  • 71
22
votes
8 answers

Ionic 3 prod release build issue with intellij-core-26.0.1

I am creating release APK using the following versions : node - 8.12.0 gradle - 4.10.2 ionic CLI - 4.0.5 Cordova - 8.0.0 When I run the ionic cordova build android --prod --release I am getting the following error. FAILURE: Build failed with an…
Sarath
  • 1,459
  • 3
  • 22
  • 38
21
votes
4 answers

Differences between Native Script and react native and ionic framework

Both Native Script and ionic framework are used for build IOS and Android apps with web view & without web views respectively. I have a confusion between the concept of web view and without web view in above technologies. What are the key…
18
votes
2 answers

How to change default App Icon and Splash Screen in Ionic 4 application?

I'm developing Ionic 4 app with angular. But, I have stuck in how to change the default App Icon and Splash Screen. I've already go through the Ionic 4 documentation (https://ionicframework.com/docs/native/splash-screen#usage) but din't find any…
18
votes
2 answers

Issue with Android Hybid app to display remote image with Ionic framework?

I am new to Ionic. I am using Ionic Framework (1.3.20), Angular JS, Cordova 5.0.0 Template file browse.html code:
app.js code: .state('app.browse', { url:…
16
votes
3 answers

How to detect multi finger touch in ionic app

I am developing an Ionic app.In that I want to apply 1 finger swipe and 2 finger swipe and 3 finger swipe ( If it is possible ). In a div if user swipes with single finger, it should scroll and If user swipes with multi finger , it should select the…
15
votes
2 answers

How to fix viewport in place when virtual keyboard opens in mobile Safari?

Goal On mobile Safari, when the virtual keyboard is open, the screen should render like this image: where: The navbar and the input are fixed in place The list of text messages is scrollable Problem On mobile Safari, when the soft keyboard is…
user680141
  • 598
  • 2
  • 6
  • 16
15
votes
2 answers

Lost in hybrid app frameworks like Ionic, Cordova,

I'm currently lost with all these hybrid mobile app frameworks. They all sound awesome, but I can not find any real information about the use cases and main differences. Can someone explain them to me or provide me with great ressources, especially…
15
votes
1 answer

Is it possible to share a cache between WKWebViews?

I am building a hybrid iOS app around WKWebView. When the user taps a link the request is hijacked and a new view controller is pushed on the navigation stack. The new controller creates a new WKWebView and loads the existing request. This enabled…
Joe Masilotti
  • 16,815
  • 6
  • 77
  • 87
15
votes
2 answers

My cordova webview app is really slower than in the android browser on the same phone

I built an android app with ionicframework and cordova. But when i try to run on my Samsung Galaxy S4 the app is really slower than the same code in the webbrowsers of my phone. How can i expect to have the same perfs ? I've tried…
15
votes
0 answers

Intercept Ajax calls in UIWebview - iOS

I have a UIWebView in my application. The website I am loading uses Ajax for making service calls. I want to intercept Ajax calls made by the web content inside the UIWebview. Is there anyway this can be achieved?
footyapps27
  • 3,982
  • 2
  • 25
  • 42
15
votes
3 answers

Using google analytics with hybrid mobile app

We are in the process of turning our native iPad app into a hybrid app. Some functionality and UI will remain in native code and other functionality will be implemented in HTML that will be served from our servers and will also be available…
Variant
  • 17,279
  • 4
  • 40
  • 65
14
votes
4 answers

ES6 Modules/Imports in Apache Cordova Hybrid App Throw MIME Type Error

I'm trying to use ES6 Modules in a hybrid mobile app built using Apache Cordova. Unfortunately, Cordova seems to be serving the module without a MIME type, which is throwing an error in the WebView (In both Chrome 63 and 64 beta). Specifically, the…