Quantcast
Channel: Ionic Forum - Latest posts
Viewing all 228514 articles
Browse latest View live

Scss file is not working

$
0
0

So, are any of your scss rules working, or none of them?


How to apply primary shade color to ion-button

$
0
0

Sorry sir it was my mistake i thought applying primary-shade makes a button to another color.But now i understood that it is for another purpose.Thanks for your helping sir.

Scss file is not working

$
0
0

Buttons and other items are not displayed on the first page, So I cannot move to another page.

Scss file is not working

$
0
0

Probably OT, but I’m 99.9% sure you do not want this here. It is likely wasteful at best and at worst will lead to baffling bugs, because the instance of CustomNativeStorage that HomePage gets is different from the rest of the app.

Prevent Alert from closing if condition is not satisfied

Trying to migrate project from older mac to newer mac

$
0
0

Instead, check the project into git and check it out on the new machine.

Trying to migrate project from older mac to newer mac

$
0
0

If that option is not available to me, do I have any other choices?

Sorry to ask but is there a difference when u transfer manually and via git?

Send data from one component to other

$
0
0

Thanks for the reply, So how to subscribe and get the existed connection am unable to know, So if ypu please share code. Thanks


Long delay accessing iOS contacts with ionic 4

$
0
0

Same Issue here. Did you find a solution?

Local files on IOS device : can write but not read any file

$
0
0

Hint

Ios works perfectly with documentsDirectory but not with DataDirectory

Send data from one component to other

$
0
0

Hi Thanks for the reply, But without using modal I need to pass data, because, I am opening other component page it should not be a dialogue.

Use same socket connection in entire application

$
0
0

Hi all, I have two components, In first component am creating a socket object, Same socket object I want to use in the second component also, So how to use, So please help me, please, please.

Socket.io Ionic2 Multiple Connections for one user

Use same socket connection in entire application

What does on this onDidDismiss mean

$
0
0

I am new to ionic.Can any one tell me what this piece of code does

> onDidDismiss() => Promise<OverlayEventDetail<any>
Where can i find its implementation…


Use same socket connection in entire application

$
0
0

Thanks for your reply, you are saying to send through service in angular, I did but it is not working, it is giving undefined object , am not understanding why it is coming undefined

Ionic v3 AdMobFree not working

$
0
0

Hi,

I’m ionic new. I added adMobFree to my app. But the ads are not showing. And test ads don’t show up.

I only see black stripe when run as test. Where am i making a mistake?

Thank you.

package.json;

{
  "name": "App",
  "version": "0.0.1",
  "author": "Ionic Framework",
  "homepage": "http://ionicframework.com/",
  "private": true,
  "scripts": {
    "start": "ionic-app-scripts serve",
    "clean": "ionic-app-scripts clean",
    "build": "ionic-app-scripts build",
    "lint": "ionic-app-scripts lint"
  },
  "dependencies": {
    "@angular/animations": "5.2.11",
    "@angular/common": "5.2.11",
    "@angular/compiler": "5.2.11",
    "@angular/compiler-cli": "5.2.11",
    "@angular/core": "5.2.11",
    "@angular/forms": "5.2.11",
    "@angular/http": "5.2.11",
    "@angular/platform-browser": "5.2.11",
    "@angular/platform-browser-dynamic": "5.2.11",
    "@ionic-native/admob-free": "^4.20.0",
    "@ionic-native/core": "~4.20.0",
    "@ionic-native/splash-screen": "~4.20.0",
    "@ionic-native/status-bar": "~4.20.0",
    "@ionic/storage": "2.2.0",
    "cordova-admob-sdk": "0.13.1",
    "cordova-android": "7.1.4",
    "cordova-browser": "^6.0.0",
    "cordova-plugin-admob-free": "^0.21.0",
    "cordova-plugin-device": "^2.0.2",
    "cordova-plugin-ionic-keyboard": "^2.2.0",
    "cordova-plugin-ionic-webview": "^4.1.3",
    "cordova-plugin-splashscreen": "^5.0.2",
    "cordova-plugin-statusbar": "^2.4.2",
    "cordova-plugin-whitelist": "^1.3.3",
    "cordova-promise-polyfill": "0.0.2",
    "ionic-angular": "3.9.5",
    "ionicons": "3.0.0",
    "rxjs": "5.5.11",
    "sw-toolbox": "3.6.0",
    "zone.js": "0.8.29"
  },
  "devDependencies": {
    "@ionic/app-scripts": "3.2.2",
    "typescript": "~2.6.2"
  },
  "description": "An Ionic project",
  "cordova": {
    "plugins": {
      "cordova-plugin-admob-free": {
        "ADMOB_APP_ID": "ca-app-pub-8060780268745608~9587423592"
      },
      "cordova-plugin-whitelist": {},
      "cordova-plugin-statusbar": {},
      "cordova-plugin-device": {},
      "cordova-plugin-splashscreen": {},
      "cordova-plugin-ionic-webview": {
        "ANDROID_SUPPORT_ANNOTATIONS_VERSION": "27.+"
      },
      "cordova-plugin-ionic-keyboard": {},
      "cordova-admob-sdk": {
        "PLAY_SERVICES_VERSION": "11.6.0"
      }
    },
    "platforms": [
      "android",
      "browser"
    ]
  }
}

I added the following codes to the config.xml file ;

 <plugin name="cordova-plugin-admob-free" spec="0.21.0">
        <variable name="ADMOB_APP_ID" value="ca-app-pub-8060780268745608~9587423592" />
    </plugin>
    <plugin name="cordova-admob-sdk" spec="0.13.1">
        <variable name="PLAY_SERVICES_VERSION" value="11.6.0" />
    </plugin>

this is my banner code ;

showBanner() {
    this.platform
      .ready()
      .then(() => {
        const bannerConfig: AdMobFreeBannerConfig = {
          id: this.bannerId,
          isTesting: true,
          //bannerAtTop: true
          //autoShow: true
        };
        this.admobFree.banner.config(bannerConfig);
        this.admobFree.banner.prepare().then(() => {
          this.admobFree.banner.show();
        })
          .catch(e => console.log(e));
      })
      .catch(e => console.log(e));
  }

IonApp double rendering

$
0
0

When installing the starter Ionic react app (example with tabs), IonApp renders twice. I put a console.log(‘Tab1 called’) just before the return statement, it will produce a double output of “Tab1 called” in the console when visiting /tab1.

Is this the intended behavior? What is the purpose?

Thanks,

How to capture video and play it back?

Why my navigate is not working

$
0
0

I’m migrating source code from ionic3 to ionic4.
I want to set the first page as the login page in my new ionic4 app.
So, I wrote router.navigateByUrl in my app.component.ts.
But It’s not working. Help me.

app.component.ts

@Component({
    selector: 'app-root',
    templateUrl: 'app.component.html',
    providers: [CustomNativeStorage, PointsService]
})

export class MyApp {
.
.
this.router.navigateByUrl('/login');
.

app.componet.html

<ion-app>
  <ion-router-outlet></ion-router-outlet>
</ion-app>

app-routing.module.ts

import { NgModule } from '@angular/core';
import { PreloadAllModules, RouterModule, Routes } from '@angular/router';

const routes: Routes = [
  { path: '', redirectTo: 'home', pathMatch: 'full' },
  { path: 'home', loadChildren: () => import('./home/home.module').then( m => m.HomePageModule)},
  {
    path: 'tabs',
    loadChildren: () => import('./tabs/tabs.module').then( m => m.TabsPageModule)
  },
  {
    path: 'login',
    loadChildren: () => import('./login/login.module').then( m => m.LoginPageModule)
  },
Viewing all 228514 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>