ionic-native

Could not find com.google.android.gms:strict-version-matcher-plugin:1.1.0

末鹿安然 提交于 2019-12-09 11:13:49
问题 Could not resolve all files for configuration 'classpath'. Could not find com.google.android.gms:strict-version-matcher-plugin:1.1.0. Searched in the following locations: https://jcenter.bintray.com/com/google/android/gms/strict-version-matcher-plugin/1.1.0/strict-version-matcher-plugin-1.1.0.pom https://jcenter.bintray.com/com/google/android/gms/strict-version-matcher-plugin/1.1.0/strict-version-matcher-plugin-1.1.0.jar file:/C:/Users/e1706396/.m2/repository/com/google/android/gms/strict

Ionic file download not working

坚强是说给别人听的谎言 提交于 2019-12-08 04:50:20
问题 I am building an ionic app for wallpapers. In the app,there is an image stored in www/assets/img displayed.I have build 2 buttons below,for downloading and retrieving the displayed image to the mobile device memory. When i click download button,a dialog is shown,saying "Download Succeeded!Pug.jpg was successfully downloaded to: filepath".But when i check the phone memory no such file is there.Also when i click "Retrieve"Button it's showing dialog saying"File retrieval succeed!Pug.jpg was

Ioniv-v4 : ionic cordova plugin add cordova-plugin-googleplus Not working

帅比萌擦擦* 提交于 2019-12-07 17:18:26
This (cordova-plugin-googleplus) command is not working with IONIC-v4-BETA, please help on this issue, details mentioned below. Command ionic cordova plugin add cordova-plugin-googleplus --variable REVERSED_CLIENT_ID=REV_KEY COMMAND ERROR PS C:\ROOT\yaflix\Source\DEV\yaflix> ionic cordova plugin add cordova-plugin-googleplus --variable REVERSED_CLIENT_ID=com.googleusercontent.apps.**************************************** > cordova plugin add cordova-plugin-googleplus --variable REVERSED_CLIENT_ID=com.googleusercontent.apps.********************************** --save (node:10740)

ionic 4 google-maps 5 beta “TypeError: Cannot read property 'BaseClass' of null”

谁说胖子不能爱 提交于 2019-12-06 00:42:05
问题 im trying to use ionic 4 google-maps@5.0.0-beta.20 i am following these slides: https://docs.google.com/presentation/d/1zlkmoSY4AzDJc_P4IqWLnzct41IqHyzGkLeyhlAxMDE/edit#slide=id.g282d0a7bfd_0_140 I get this error: "TypeError: Cannot read property 'BaseClass' of null" newlocation.page.html: <ion-content> <h3>Ionic GoogleMaps Starter</h3> <div id="map_canvas"> </div> </ion-content> newlocation.page.scss: map_canvas { height: 90%; } newlocation.page.ts: import { Component, OnInit } from '

IONIC Android Apk File size Way Too Big ! how to decrease the size of app for android?

早过忘川 提交于 2019-12-05 14:15:25
I have developed the app using ionic 3 and now while generating android apk file it 's size getting way too big. before the API integration The File Size Was 4.8MB once I Started API Interation I just Modified 10 Pages Then The APK File Size became 71 MB Cordova Plugins I have Used cordova-plugin-console cordova-plugin-datepicker cordova-plugin-device cordova-plugin-network-information cordova-plugin-splashscreen cordova-plugin-statusbar cordova-plugin-whitelist cordova-plugin-x-socialsharing cordova-sqlite-storage es6-promise-plugin ionic-plugin-keyboard I unziped the APK file to know what's

Ionic cordova-plugin-qrscanner has no camera preview

試著忘記壹切 提交于 2019-12-05 04:32:00
I run a simple demo to use cordova-plugin-qrscanner, it can scan qrcode but no camera preview. qrscannerDemo on Github Related code blow: import { Component } from '@angular/core'; import { NavController } from 'ionic-angular'; import { AndroidPermissions } from '@ionic-native/android-permissions'; import { QRScanner, QRScannerStatus } from '@ionic-native/qr-scanner'; @Component({ selector: 'page-home', templateUrl: 'home.html' }) export class HomePage { constructor(public navCtrl: NavController, public androidPermissions: AndroidPermissions, public qrScanner: QRScanner) { } qrscanner() { //

Ionic 3 - Hide status bar during splash screen show

我只是一个虾纸丫 提交于 2019-12-04 04:29:56
问题 I have an app with Ionic 3 and in your app.component.ts, i using the Statusbar ionic plugin to hide that, but, this occurs only after platform ready is fired. How do i hide that during splashscreen? I tried: – Not hide during splashscreen, only after this hide – Not change background color during splashscreen Solutions? 回答1: Android It seems that there is not elegant way to hide statusbar on app launch. But there is an way to do that. Find MainActivity.java (maybe platforms/android/src/io

Could not find com.google.android.gms:strict-version-matcher-plugin:1.1.0

蓝咒 提交于 2019-12-03 13:13:25
Could not resolve all files for configuration 'classpath'. Could not find com.google.android.gms:strict-version-matcher-plugin:1.1.0. Searched in the following locations: https://jcenter.bintray.com/com/google/android/gms/strict-version-matcher-plugin/1.1.0/strict-version-matcher-plugin-1.1.0.pom https://jcenter.bintray.com/com/google/android/gms/strict-version-matcher-plugin/1.1.0/strict-version-matcher-plugin-1.1.0.jar file:/C:/Users/e1706396/.m2/repository/com/google/android/gms/strict-version-matcher-plugin/1.1.0/strict-version-matcher-plugin-1.1.0.pom file:/C:/Users/e1706396/.m2

Customization in Ionic Bottom Sheet

风流意气都作罢 提交于 2019-12-02 20:23:02
问题 I am trying to add list in bottom sheet but ionic gave us an array so we can add class there and style it. What i am trying to ask is how we can make a list or totally our own html code and pass it to bottom sheet function that will just display? async presentActionSheet() { const actionSheet = await this.actionSheetController.create({ header: 'Albums', buttons: [{ text: 'Delete', role: 'destructive', icon: 'trash', handler: () => { console.log('Delete clicked'); } }, { text: 'Share', icon:

Ionic native Printer plugin not working

随声附和 提交于 2019-12-02 10:37:12
问题 (Ionic 2) The plugin located here seems to not work for me on android and ios : http://ionicframework.com/docs/native/printer/ I think that I followed the guidelines from this page, the code is building on both platforms but I got a black screen on ios and a blank one on android when emulate ... First I started a new project : ionic start PrinterApp --v2 Then I installed platforms : android 6.2.1, ios 4.3.1 Then the two command lines from the plugin page : ionic plugin add --save de.appplant