hybrid-mobile-app

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

只谈情不闲聊 提交于 2019-12-02 15:54:08
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 exception. * What went wrong: A problem occurred configuring project ':CordovaLib'. > Could not resolve all files for configuration ':CordovaLib:classpath'. > Could not find intellij-core.jar (com.android.tools.external.com-intellij:intellij-core:26.0.1). Searched in the following locations: https://jcenter.bintray.com/com/android/tools/external/com

Worklight(6.1v) hybrid app - need to open other application from my app

送分小仙女□ 提交于 2019-12-02 12:49:15
This is the case 1) check whether someXXX app is installed in the device 2) if installed open the app. 3) if not, open play store/App store app with someeXXX page. if there any examples or codebases or links provided would be helpful and appreciated. Thanks Idan Adar You can also take a look at the following accepted answer: IBM Worklight - How to launch another app? Two options are provided within: Using URI schemes Using a Cordova plug-in in your Worklight application (demo project attached) Check this plugin, looks like it answers all your points: https://github.com/lampaa/org.apache

Auto scroll to Bottom

妖精的绣舞 提交于 2019-12-02 12:42:16
问题 I am working on application with chat screen. But as normal screen it starts scrolling from top to bottom. But its should be from bottom to top. The application is in Telerik Nativescript platform. View.xml <ScrollView row="0" col="0"> <StackLayout class="history-content-area"> <Repeater items="{{messageHistory}}"> <Repeater.itemTemplate> <StackLayout> <!-- ITEMS GO HERE --> </StackLayout> </Repeater.itemTemplate> </Repeater> </StackLayout> </ScrollView> I need help in above code how can i

angular expression working inside a script tag

戏子无情 提交于 2019-12-02 10:39:34
How do I get an angular expression working inside a script tag... I am pretty new to this and need help? Here is an example of my java script code: <script id="modal-2.html" type="text/ng-template"> <div class="modal transparent"> <div class="card"> <i class="icon ion-ios7-close close-modal" ng-click="closeModal(2)"></i> <div class="item item-divider"> {{card.title}} </div> <div class="item item-text-wrap"> {{card.details}} </div> </div> </div> </script> Here is an example of my array: .controller('TodoCtrl', function($scope, $ionicPopup, $timeout, $ionicModal, $ionicSideMenuDelegate) { $scope

Splashscreen wrong since XCode 7

喜你入骨 提交于 2019-12-02 10:36:13
I took over a project using AngularJS, Ionic and Bootstrap to create hybrid apps for mobile devices. Prior to upgrade to XCode 7 all went well. I updated my HTML-, CSS- and JS-code in editor, ran grunt run:ios to create platform code and opened XCode. From there I built the .ipa-file without any issues (justwith some warnings, which could be ignored). However since using XCode 7 (needed for iOS 8- and iOS 9-devices), the splascreen will be shown incorrectly. Meaning: Rotated with 90°. Note #1: The splashscreen and the app have to be Landscape-only. Note #2: When running grunt run:android , all

Data are not showing when two api called in` iondidenter`

浪尽此生 提交于 2019-12-02 09:58:05
I have one screen, which have two gridview . each grid view will populate some value after api calling. so my page will have 2 api calling. so when i call my api call method under constructor or ionViewDidEnter its not working. it allowing only one method to exeute. here is my two api call method on one page .ts Even i put under my constructor. But its not showing the data. so if i want to call the both api and need to display the data means how can i do that.please help me out. i was not able to find it out !! Thanks in advance updated: import { Component, ViewChild } from '@angular/core';

ionic 1 Themeable Browser not opening in android device

我是研究僧i 提交于 2019-12-02 09:45:30
Here my flow... I added both ios and android platform Installed it cordova plugin add cordova-plugin-themeablebrowser My example pdf : http://www.pdf995.com/samples/pdf.pdf that plugin in github: https://github.com/initialxy/cordova-plugin-themeablebrowser My index.html : <ion-pane> <ion-header-bar class="bar-stable"> <h1 class="title">Ionic Blank Starter</h1> </ion-header-bar> <ion-content ng-controller="FileOpenerController"> <button class="button button-icon loginnavbtn" ng-click="openpdf()">pdf open</button> </ion-content> </ion-pane> my .js app.controller('FileOpenerController', function(

Auto scroll to Bottom

一曲冷凌霜 提交于 2019-12-02 06:42:46
I am working on application with chat screen. But as normal screen it starts scrolling from top to bottom. But its should be from bottom to top. The application is in Telerik Nativescript platform. View.xml <ScrollView row="0" col="0"> <StackLayout class="history-content-area"> <Repeater items="{{messageHistory}}"> <Repeater.itemTemplate> <StackLayout> <!-- ITEMS GO HERE --> </StackLayout> </Repeater.itemTemplate> </Repeater> </StackLayout> </ScrollView> I need help in above code how can i scroll to bottom automatically on page load ? Let me know if you need javascript code. Thanks in advance.

Menu is not working when i push the screen ionic 3

纵饮孤独 提交于 2019-12-02 03:26:31
I have one screen login with home comes with menu, 4 tabs . Like home, about, location, more .And in this case menu working fine. When i login, i use this below code to navigate the screen to home pagewith all tabs , menu. That time its working fine. this.navCtrl.push(TabsPage); And when i am in about screen . I have one button to show some data and when user press ok button it will show one screen with some score data: this is that screen code: <ion-header> <ion-navbar color="navcolr" no-border-bottom> <ion-title >Exam Score</ion-title> </ion-navbar> </ion-header> <ion-content padding

Cordova build android error Execution failed for task ':processDebugResources'

青春壹個敷衍的年華 提交于 2019-12-02 03:19:13
I am developing an hybrid mobile app for android and ios with cordova, angularjs and angularmaterial design. I use npm, bower and grund to manage and run build task. I could build ios but not android with error: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':processDebugResources'. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/xxx/android-sdk/build-tools/23.0.3/aapt'' finished with non-zero exit value 1 * Try: Run with --stacktrace option to get the stack trace. Run with --info or -