will ionic plugin 2.2.3 run on ionic 1.3.0? - ionic-framework

I'm newbie in ionic and I need to create plugins that run on ionic 1.3.0, is that possible if I create the plugin using the ionic 2.2.3 ? will the plugin works or should I develop the plugin using ionic 1.3.0 also?

Related

How to downgrade flutter plugin using Android Studio?

I have upgraded to the latest version of the flutter plugin but breakpoints stopped working and I need to downgrade to another version:
But there is no option for downgrading(only disable and uninstall/install).
How can I downgrade it using Android Studio or dev tools?
In your terminal run these code:
flutter downgrade <yourVersion> // for example: flutter downgrade 3.0.4
flutter doctor

Error when install ionic app on Android device

I have create my ionic app and run on Android emulator (Android 7.x).it work correctly,but when I try to install on Android box (Android 6.0.1) i got error
Make sure your testing device is on the same version of your compiled apk sdk or it is in a version ahead of it.
For example, an app built for Android 7.1.0 will not run on Android 6.1.0 but an app built for Android 6.1.0 will run on both 6.1.0 and 7.1.0 and so on.
As a default approach the newer versions of ionic cli ships aways with the latest Android sdk version, which current is 7.1.0, if youl'd like to use an older one you need to remove the platform and add it again, you can do it within these commands:
Remove the platform
ionic cordova platform remove android
Then add it again with your desired android version
ionic cordova platform add android#6.1.0
For this example I'm using the 6.1.0 version but feel free to change it to another sdk version.

Ionic android build prod failed in android

i am using ionic 2 for hybrid application development. Once i build the android application using following command.
ionic build android --prod
I am getting the following error in my console. Whats the exact issue any one please suggest.
ionic-app-script task: "build"
[00:15:38] Error: ./node_modules/ionic-native/dist/es5/plugins/plugin.js Module build failed: TypeError: Cannot read
property 'type' of undefined at Object.getEffectiveTypeAnnotationNode
Following is my ionic information:
Cordova CLI: 6.5.0
Ionic Framework Version: 3.6.0
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 2.1.4
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v6.10.0
Xcode version: Not installed

plugin_not_installed in this.googlePlus.login() function

I'm trying to use Ionic google plus plugin in my Ionic application.
I have a error plugin_not_installed in Android device when I call this.googlePlus.login() function:
this.platform.ready(() => {
this.googlePlus.login({})
.then(res => console.log(res))
.catch(err => console.log(err));
});
I installed plugin using commands:
ionic cordova plugin add cordova-plugin-googleplus --variable REVERSED_CLIENT_ID=myreversedclientid
npm install --save #ionic-native/google-plus
And I added GooglePlus to my providers list in AppModule
I upload application using command: ionic upload
Here is my plugins list (ionic cordova plugin):
cordova-plugin-camera 2.4.1 "Camera"
cordova-plugin-compat 1.1.0 "Compat"
cordova-plugin-console 1.0.7 "Console"
cordova-plugin-device 1.1.6 "Device"
cordova-plugin-googleplus 5.1.1 "Google SignIn"
cordova-plugin-inappbrowser 1.7.1 "InAppBrowser"
cordova-plugin-nativestorage 2.2.2 "NativeStorage"
cordova-plugin-statusbar 2.2.3 "StatusBar"
cordova-plugin-whitelist 1.3.2 "Whitelist"
cordova-sqlite-storage 2.0.4 "Cordova sqlite storage plugin"
ionic-plugin-keyboard 2.2.1 "Keyboard"
phonegap-plugin-push 2.0.0-rc5 "PushPlugin"
Seems like the cordova-plugin-googleplus is not yet supported by Ionic View. You can find a list of the supported plugins here.
As of today (July 31, 2017), the list of supported plugins is:
View supports a subset of the plugins found in Ionic Native:
ActionSheet 2.2.2
BarcodeScanner 5.0.0
BLE 1.1.1
Bluetooth Serial 0.4.5
Calendar 4.5.0
Camera 2.2.0
Capture 1.3.0
Contacts 2.1.0
DatePicker 0.9.3
DBMeter 1.0.3
Device 1.1.2
Device Motion 1.2.1
Device Orientation 1.0.3
Dialogs 1.2.1
Email Composer 0.8.3
Geolocation 2.2.0
Globalization 1.0.3
ImagePicker 1.1.1
Keyboard 2.2.0
Media 2.3.0
Network Information 1.2.1
SocialSharing 5.1.1
SQLite 1.4.2
StatusBar 2.1.3
Toast 2.5.2
Touch ID 3.2.0
Vibration 2.1.1

how to add android and ios platform in ionic cli 3.3.0

I update ionic and trying to add android and ios platform but i could not add it. it shows me following message in console.
js20#js20:~/Desktop/project$ ionic platform add android
The platform command has been renamed. To find out more, run:
ionic cordova platform --help
My ionic version
js20#js20:~/Desktop/project$ ionic -v
3.3.0
we can simply use following commands
ionic cordova platform add android
or
ionic cordova platform add ios
to run
ionic cordova run android --device
ionic cordova run ios
ionic cordova run ios --prod --release
to build
ionic cordova build android
ionic cordova build ios
ionic cordova build ios --prod --release
If are you facing any problem while adding and removing platform.
Recently I am unable to remove and add platform using
ionic cordova platform add android
It is not get add in project.
Then finally i add platform using cordova commands
cordova platform add android