Hi... How can i use self hosted rabbitmq push notification service without the help of FCM in ionic 2....
Hope someone can help. Thank you!
Regards.
Using Rabbitmq push notification service with ionic 2 without FCM
Infinite scroll is visible
Situation is a bit confusing as this changed multiple times over the betas and RCs, but here is something: https://ionicframework.com/docs/api/components/content/Content/#advanced
Native transitions "slide" and tabs navigation
Hi,
has anyone tried to use Native Page Transitions "slide" with a Tabs navigation? I get the native animations to work in normal navigations or push/pop pages, but I have problems using it in a Tabs navigation.
The problem is the content of the current page has disappeared when the new page animates in. This happens only in iOS. The plugin makes a screenshot of the old page, then animates the new one in and the screenshot out. In this screenshot of the old page the content area is empty. This looks bad and can not be used.
My tab code looks like this:
<ion-tabs tabsPlacement="bottom" selectedIndex="0" (ionChange)="tabChange($event)">
tabChange(event) {
this.transitionOptions = this.settingsService.getTransitionOptions();
this.nativePageTransitions.slide(this.transitionOptions);
}
I suspect the timing of making this screenshot is wrong here. The old tab is already hidden when the ionChange is fired and the screenshot is made. I'm just wondering why it works in Android?!?
Thanks for the help!
Is Ionic using Semantic versioning?
it is indeed...
imagine an app that let users share URLS, so users may have post them in blogs etc... if the app updates to 3.5, it would break all those blogs, bookmarks etc... so it keeps the app locked to 3.4.2 which means that it wont get any bug fixing neither...
Credit Card Reader/Swiper
Do you want to develop for Ionic v1 or Ionic?
Reusing components?
@rapropos Can you please explain why? I'm still new to Ionic and would love to improve it :). I saw that you could also use 'this.' instead of passing the parameters. Is that a better way of doing it?
Ionic 1.x and 2.x in the same machine
Does Ionic v1 really need a different Ionic CLI version? Ionic CLI works with v1 projects just fine.
Ionic View does not show any styles
Does ionic serve
show the changes you made?
What paths are you using for these images?
How to check network coneection
Here are some articles that may help you...
http://www.plugreg.com/plugin/apache/cordova-plugin-network-information
SocialSharing Plugin
Im beginner in ionic and have question:
coud i have to write this in the camera controller or in the
SocialSharing controller ? like this
$scope.shareViaTwitter2 = function() {
this.lastFilePath=param.get('data:image/jpeg;base64,');
console.log(this.lastFilePath);
$cordovaSocialSharing.shareViaTwitter("Bonn Beethovensstadt" , this.lastFilePath, null);
}
thank you
getRootNav() deprecated, use getRootNavById(): what's the value of the root nav id?
You can use this this.app.getRootNavs()[0] because getRootNav() is
getRootNav(): any {
const rootNavs = this.getRootNavs();
if (rootNavs.length === 0) {
return null;
} else if (rootNavs.length > 1) {
console.warn('(getRootNav) there are multiple root navs, use getRootNavs instead');
}
return rootNavs[0];
}
import { App } from 'ionic-angular';
rootNavCtrl: NavController;
constructor( private app: App ) {}
this.rootNavCtrl = this.app.getRootNavs()[0]
Reusing components?
It's really all about compartmentalization. The more you can clearly define boundaries and areas of control, the more readable, testable, maintainable, and securable your app is. Injecting App
is a license to do things in the injecting page that should not belong there. They should be in the app component. As you note, passing parameters to an object method that are available as object properties is confusing. Although I have no knowledge that you are doing this, I have seen posters here pass such things as loading controllers and providers to other providers, and I think that is a design mistake. The less reliant various actors in your design are on one another, the more resilient they are.
AlertController Cancel Button / Dismiss is not working
The code above is a new sideMenu project that has only a button in it and it rproduces the bug
Ionic android gradle build takes long time!
It takes only 1 to 3 secs..
cordova build android
Running command - done!
ANDROID_HOME=C:\Users\username\AppData\
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_112
Subproject Path: CordovaLib
Incremental java compilation is an incubating feature.
:preBuild UP-TO-DATE
:preDebugBuild UP-TO-DATE
:checkDebugManifest
:CordovaLib:preBuild UP-TO-DATE
:CordovaLib:preDebugBuild UP-TO-DATE
:CordovaLib:checkDebugManifest
:CordovaLib:prepareDebugDependencies
:CordovaLib:compileDebugAidl UP-TO-DATE
:CordovaLib:compileDebugNdk UP-TO-DATE
:CordovaLib:compileLint UP-TO-DATE
:CordovaLib:copyDebugLint UP-TO-DATE
:CordovaLib:mergeDebugShaders UP-TO-DATE
:CordovaLib:compileDebugShaders UP-TO-DATE
:CordovaLib:generateDebugAssets UP-TO-DATE
:CordovaLib:mergeDebugAssets UP-TO-DATE
:CordovaLib:mergeDebugProguardFiles UP-TO-DATE
:CordovaLib:packageDebugRenderscript UP-TO-DATE
:CordovaLib:compileDebugRenderscript UP-TO-DATE
:CordovaLib:generateDebugResValues UP-TO-DATE
:CordovaLib:generateDebugResources UP-TO-DATE
:CordovaLib:packageDebugResources UP-TO-DATE
:CordovaLib:processDebugManifest UP-TO-DATE
:CordovaLib:generateDebugBuildConfig UP-TO-DATE
:CordovaLib:processDebugResources UP-TO-DATE
:CordovaLib:generateDebugSources UP-TO-DATE
:CordovaLib:incrementalDebugJavaCompilationSafeguard UP-
:CordovaLib:compileDebugJavaWithJavac UP-TO-DATE
:CordovaLib:processDebugJavaRes UP-TO-DATE
:CordovaLib:transformResourcesWithMergeJavaResForDebug U
:CordovaLib:transformClassesAndResourcesWithSyncLibJarsF
:CordovaLib:mergeDebugJniLibFolders UP-TO-DATE
:CordovaLib:transformNative_libsWithMergeJniLibsForDebug
:CordovaLib:transformNative_libsWithSyncJniLibsForDebug
:CordovaLib:bundleDebug UP-TO-DATE
:prepareAndroidCordovaLibUnspecifiedDebugLibrary UP-TO-D
:prepareDebugDependencies
:compileDebugAidl UP-TO-DATE
:compileDebugRenderscript UP-TO-DATE
:generateDebugBuildConfig UP-TO-DATE
:generateDebugResValues UP-TO-DATE
:generateDebugResources UP-TO-DATE
:mergeDebugResources UP-TO-DATE
:processDebugManifest UP-TO-DATE
:processDebugResources UP-TO-DATE
:generateDebugSources UP-TO-DATE
:incrementalDebugJavaCompilationSafeguard UP-TO-DATE
:compileDebugJavaWithJavac UP-TO-DATE
:compileDebugNdk UP-TO-DATE
:compileDebugSources UP-TO-DATE
:mergeDebugShaders UP-TO-DATE
:compileDebugShaders UP-TO-DATE
:generateDebugAssets UP-TO-DATE
:mergeDebugAssets UP-TO-DATE
:transformClassesWithDexForDebug UP-TO-DATE
:mergeDebugJniLibFolders UP-TO-DATE
:transformNative_libsWithMergeJniLibsForDebug UP-TO-DATE
:processDebugJavaRes UP-TO-DATE
:transformResourcesWithMergeJavaResForDebug UP-TO-DATE
:validateSigningDebug
:packageDebug UP-TO-DATE
:assembleDebug UP-TO-DATE
:cdvBuildDebug UP-TO-DATE
BUILD SUCCESSFUL
Reusing components?
Oww I see, I updated my code. Thanks for the feedback, much appreciated
Cordova plugin with pwa
how to use cordova plugin for progressive web app in ionic --v1/--v2.
if they are not supporting to browser ?
Ionic 1.x and 2.x in the same machine
Hmm, True. But sometimes Developers tend to work on Different Node Setups for Working on Legacy Projects. For those use-cases, i think we will need nvm for working with Different Ionic Projects.
Correct me if i am Wrong!
Ionic 2 when test in ionic lab its ok but when realase app vere=y delay for anything
hi when test my app in ionic lab very good but when create apk file and install to device very slow. delay for click on button
delay to push page
delay to open modal
Need help with displaying splash screen on Android (Cordova 3.6)
hello... I found some informative articles for displaying splash screen on Android using Cordova...
www.stackoverflow.com/questions/19205647/cordova-splash-screen-preference-name-in-config-xml
Statusbar backgroundColorByHexString doesn't work
Ionic statusbar is not properly working in Android N
I want to change the color of statusbar according to different colors of the page. For that I used -
this.statusBar.backgroundColorByHexString('#e84240');
works well in Android Marshmallow, but doesn't work in Android N.
Is this a plugin bug?? How can I resolve this?
Thanks