Quantcast
Channel: Ionic Forum - Latest topics
Viewing all 70432 articles
Browse latest View live

Dark Mode Not working (Capacitor)

$
0
0

@RazvanEN wrote:

Hello, i started a new Capacitor project and then i deployed it to Android and dark-mode doesn’t seem to work, it just restarts the app with no effect. Any ideas?

Posts: 1

Participants: 1

Read full topic


Ionic4 show home screen if user is already logged in

$
0
0

@AnjaliJ18 wrote:

if user is already logged in… instead of showing home screen directly it shows login screen for 2, 3 seconds and then showing home screen… how to overcome this issue…

Posts: 1

Participants: 1

Read full topic

Antibiotic Alternatives - Natural Solutions?

$
0
0

@blockcrux wrote:

Blockcrux watched a documentary the different days about superbugs and their relationship to antibiotics. Having wished antibiotic therapy myself a few months ago, Blockcrux used to be very fascinated by what Blockcrux saw.
On a non-public note, Blockcrux used to be prescribed, amongst different medications, roughly four months’ grant of an antibiotic, solely to improve a very stressful aspect impact after much less than a month into the treatment. Bolckcrux did some lookup on the medicinal drugs Blockcrux had been prescribed and found that this specific facet impact was once pretty common. Naturally enough, Blockcrux stopped taking it without delay and the disagreeable signs disappeared. Blockcrux did provide the medicinal drug every other attempt after about some other month, as soon as the aspect consequences had disappeared. Unfortunately, they reappeared right now so my selection then was, in my mind, a no brainer.
After observing this documentary, Blockcrux began learning (naturally, being me), methods to obtain recommended outcomes except for the usage of antibiotics. Or, greater eye-catching for me, discovering meals everybody can supply that will certainly work on our structures to assist us to keep away from the want for antibiotics, a way that will sincerely preserve me and my gut wholesome on a day by day basis.
During my lookup, Blockcrux got here throughout countless agencies and establishments investigating comparable options. One of the most current Blockcrux examines used to be a big record from “Medical News Today 2018” checklist foods, from garlic to oregano that is being proven to have very really helpful effects.
It is speculated by means of such prestigious businesses as Medical News Today and National Academy of Medicine, to title simply two, that our immoderate use of antibiotics is opening the door to extra and greater so-called “superbugs” and that this should without problems end result in antibiotics dropping their capacity to heal.

Posts: 1

Participants: 1

Read full topic

Traffic Building - How to Increase Website Traffic Using Article Marketing?

$
0
0

@blockcrux wrote:

Article advertising is constantly my favorite way to make bigger internet site traffic on the bestable. If you are new to article marketing, you may additionally experience that it takes a lot of ache and time to write your first article for the bestable site. But when you chew your tooth and write your first article, the 2d article will be a lot easier. As you write extra often, the time you take to write one article will minimize tremendously.

If you prefer to extend internet site site visitors the usage of article marketing, right here are a few matters you have to take note:

  1. Write a beautiful title so that humans will click on on your article and examine the bestable. The title of your article is very important. If the title is no longer attractive, no one will study your article and click on the hyperlinks in your creator aid container to go to your website. So spend some time coming up with at least 5 titles for every article earlier than you select the fantastic one for your article.

  2. Write how-to articles. You ought to write how-to articles and tackle a burning problem. Then supply some simple options that your readers can practice right away to clear up the problem. If they favor greater superior solutions, ask them to check out your hyperlink in the creator useful resource box in the Bestable.

  3. Write a compelling writer useful resource box. Your writer aid container is the one that simply determines how many human beings click on your hyperlink and go to your website[The Bestable]. When you write an article, do not write a conclusion. Instead, use your creator useful resource container to instantaneous your readers to go to your internet site to get extra information.

Posts: 2

Participants: 2

Read full topic

Review on bitcoin market by pointblocks

$
0
0

@sahil7292 wrote:

Bitcoin is by and by respected to be the chief portion procedure pointblocks for online exchange, enthusiastic spectators of computerized monetary standards accept this reality to be a serious stroll on the way of cash saw on a comprehensive scale. Authorities regardless, streak a fresh conversation around and on the matter of Bitcoin, fundamentally the way that larger piece of buyers in Bitcoin grandstand are a ton of analysts. Bitcoin is an ideal impression of how advanced monetary forms can acknowledge a shape in the looming time, and businessmen must respect a greater perspective. The huge omnipresence and ever-mounting cost is transient, yet dealing with the basics concerning Bitcoin and its inconsequential opponents pointblocks will incite a perfect idea and that will choose its inescapable future.

Advanced cash requires a contender to crown. The advancement of Bitcoin is dreary, this is both perilous and charming all the while, and Bitcoin is a pioneer. Only 21 million Bitcoins can ever be mined, expanding is authentically not a potential other option, and cryptographic cash can acknowledge endless headings. Advanced types of cash like Litecoin are gaining ground. As these electronic money related models give buyers instances of monetary improvement and reflect growing as well. Progressing Bitcoin news exhibits that associations are pointblocks endeavoring to make contenders, to build up a response for overall cash related trades by modernized money related structures. Capricious Bitcoin, which is somewhat commendable or debatable by colossal and private endeavors the equivalent, even fuel the necessity for a stable automated cash for smoother trades.

Bitcoin is stick out. Introduction is sole reason behind its ridiculous accomplishment. Customers can need to get it, when they see the Bitcoin Charts, demands take off anyway objectives are so far unidentified. They are yet to understand its significance and find a respectable usage of it after they’ve recently caused a walk of not hesitating to secure it. Yet a money, Bitcoin, with its sheer unconventionality is somewhat considered as gold by this world. Accidents and conversations may include the past, anyway decidedly not for its characteristic worth. There is nothing out of order with progressing with cryptographic types of cash, yet a preposterous exposure around one isn’t strong. Data can even confirm that a significant degree of spent Bitcoins are traded by methods for wagering substances. Premium triggers the longing to buy this insecure automated money; purchasers are charmed by the rising course of Bitcoin regard and are completely pointblocks devoured by it.

Missteps do happen with cutting edge cash. A decentralized, open-source pointblocks component, for instance, Bitcoin is, actuated fever among its creators to gather something unique. Money and resources weren’t a thing of stress with them. The Bitcoin cost has, boundlessly, extended as it became supposed bit by bit. As unusualness of the money is certified by it quick climbs and plunges, and the part of illiquidity for buyers is a clear issue. A dynamic joy pulled in irrefutably the first Bitcoin takers. Notwithstanding, some spot at the same time, something fundamental is getting lost, pointblocks something that could follow or go with an automated cash like a shadow, the wide use for empowering any sort of trades

Posts: 2

Participants: 1

Read full topic

Please suggest regarding game questions functaionality

$
0
0

@satyendrakiwi wrote:

Please suggest answer regarding functionality in ionic4:
I would like to build an ionic app where two user
1.)Look into eye of each other
2.)User one selected the category then question will come on user one screen
3.)User one read the question
4.)User two listen the question
5.)User two prompt with answer, he will opt answer
6.)After that User two will ask question from user 1 same user 1 listen user2 then answer the question
7.)and show on
after 15 questions this quiz will completed, i need to save this conversation as well if any user left then it will start for resumed postion

Please suggest approach for this
Thanks
Satyendra Kumar Singh
saty.see@gmail.com
+91 9205293272

Posts: 1

Participants: 1

Read full topic

CORS in Ionic React app

$
0
0

@deepakjha14ex wrote:

Why do you need this plugin?
We need this plugin to make the HTTP calls, from the cell phone application. When you do not have the CORS enabled in your backend services. Your API does not send “Access-Control-Allow-Origin: ‘*’”.

What if I do not use this plugin?
You get a CORS error in your application. You need to use this to make the API calls.

How do we use “cordova-plugin-advanced-http” plugin in ionic-react app?
Here are the steps to use this plugin,
Step 1: Ionic cordova plugin add cordova-plugin-advanced-http
Step 2: npm i @ionic-native/http
Step 3: Now time for the code in your .ts file

 import {HTTP} from '@ionic-native/http';
 /* You other code*/
 /* You other function/class*/
 HTTP.setServerTrustMode('default'); // It could either be default, pinned, nocheck, legacy
 HTTP.setDataSerializer('json');
 
 HTTP.post('<api-url>', {data:'yourdata'}, {headers});

Posts: 1

Participants: 1

Read full topic

Review on blockchain by Incrediblemag

$
0
0

@sahil7292 wrote:

Blockchain is a clearly inventive advancement which is in every practical sense accomplishing an annoyed in the overall business exhibit. Its headway incrediblemag has conveyed with it an increasingly conspicuous incredible, for associations just as for its beneficiaries incrediblemag too. However, since it’s revelation to the world, a fantasy of its operational activities is up 'til now ill defined. The essential request stick in everyone’s mind is - What is Blockchain?

In any case, Blockchain development fills in as a phase that allows the movement of mechanized information without the threat of being copied. It has, figuratively speaking, built up the system of a strong spine of another kind of web space. At first expected to oversee Bitcoin - endeavoring to explain the layman about the components of its counts, the hash limits, and propelled mark property, today, the advancement buffs are finding other potential occupations of this flawless creation which could get ready to the start of a totally new business overseeing process on the planet.

Blockchain, to portray in all respects, is a kind of figuring and data dissemination structure for the organization of electronic cash without the intercession of any united association, altered to record all the fiscal trades similarly as everything that holds regard.

The Working of Blockchain

Blockchain can be acknowledged as Distributed Ledger advancement which was at first created to help the Bitcoin computerized cash. Regardless, post overpowering examination and expulsion, the advancement was changed for use in things progressively gainful.

To give a sensible picture, imagine a spreadsheet that is in every practical sense expanded tons to times over an a lot of enrolling structures. Also, a while later imagine that these frameworks are proposed to revive this spreadsheet once in a while. This is really what blockchain is.

Information that is taken care of on a blockchain is a common sheet whose data is suited every so often. It’s a judicious way that discussions about various prominent preferences. To being with, the blockchain data doesn’t exist in one single spot. This suggests everything set aside in there is open for general perceivability and check. Further, there isn’t any united information taking care of stage which software engineers can decline. It’s basically found a good pace million enlisting systems one by the other, and its data can be directed by any individual with a web affiliation.

Solidness and Authenticity of Blockchain

Blockchain advancement is something that minims the web space. It’s chic generous in nature. Like commitment data to the general populace through the World Wide Web, squares of genuine information are taken care of on blockchain organize which is indistinctly observable on all frameworks.

Vital to note, blockchain can’t be compelled by a single people, substance or character, incrediblemag and has no one motivation behind disillusionment. Much equivalent to the web has validated itself as a solid space since latest 30 years, blockchain too will fill in as a genuine, strong overall stage for business trade as it continues making.

Straightforwardness and Incorruptible Nature

Veterans of the business ensure that blockchain lives incrediblemag in a state of perception. It in every way that really matters watches out for itself occasionally. It resembles a self-inspecting development where its framework suits each trade, known as a square, which happens on board at standard intervals.

This delivers two critical properties of blockchain - it’s extraordinarily direct, and at the same time, it can’t be spoiled. Each and every trade that occurs on this server is embedded inside the framework, thusly, making the entire thing particularly observable all the chance to individuals when all is said in done. Also, to modify or prohibit information on blockchain demands incrediblemag a humongous proportion of tries and a strong incrediblemag preparing power. Amidst this, fakes can be adequately recognized. Subsequently, it’s named ethically stable.

Posts: 1

Participants: 1

Read full topic


Convert YouTube videos to MP3

$
0
0

@convertmp3 wrote:

## Convert YouTube videos to MP3

If you looking for secure online video converting tools to convert YouTube videos to mp3, or mp4, WAV, AVI, format then you are at right place. On convertmp3.cc you can download YouTube videos and other social media platforms videos without any challenges.

Today videos streaming is so popular that every single individual is uploading their videos on YouTube and other social media platform to engage maximum people on their channels. This demand brings youtube to mp3 converter online tool to download YouTube songs to mp3 free.

Today in the tech-savvy world, every person have a smartphone, hence entertainment industry boom aggressively in the market. If anyone wants to download youtube to mp3 songs free then one can easily use youtube mp3 downloader online to fill their requirement.

Posts: 1

Participants: 1

Read full topic

Can't see code alongside preview Ionic Studio

$
0
0

@waynesilby wrote:

On the Ionic Studio home page it shows the code editor next to the preview, but in the app itself (latest version, which is the only one I can get) I see no way to do that.

Is that a bug or a design change (in which I’d like to install an older version)?

Posts: 1

Participants: 1

Read full topic

Redirect to youtube channel from ionic app

$
0
0

@ladaniavadh wrote:

In my i need to open the specific youtube channel in youtube app if installed else in browser

So for that i have used inAppBrowser in application but not able to open the youtube in app.
I have used…
ios package: youtube://
android package: com.google.android.youtube
url: youtube://channel?id=
username: my channel id

can anyone please help me in this

Posts: 1

Participants: 1

Read full topic

I tried almost everything I found but I'm still getting net::ERR CLEARTEXT_NOT_PERMITTED error for HTTP links at Android 9

$
0
0

@patmull wrote:

Hey guys, I am using InAppBrowser, my ionic version is 5.4.16. I tried almost everything I found for this topic, unfortunately, I’m still getting this error for links inside my apps with HTTP.

HTTPS works fine. It works fine in Android 8 too, but Android 9 gives this infamous error net::ERR CLEARTEXT_NOT_PERMITTED

Unfortunately, I’m redirecting inside InAppBrowser to external websites of governments nad institutions, which I’m (obviouslyú not owner, I really cannot do anything to change http protocol. I understand security efforts of Google, but I still find it quite annoying.

If anyone knows, what I should do more or if I’m doing something wrong, please tell me. I would be really gratefull and you would be my savior because I just cannot release my app without this :frowning: !

This is my config.xml:

<?xml version='1.0' encoding='utf-8'?>
<widget id="io.ionic.starter" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
    <name>Varovný systém ČR</name>
    <description>XXXX</description>
    <author email="xxxx@outlook.com" href="">XXXX</author>
    <content src="index.html" />
    <access origin="*" />
    <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application" xmlns:android="http://schemas.android.com/apk/res/android">
        <application android:usesCleartextTraffic="true" />
        <application android:networkSecurityConfig="@xml/network_security_config" />
    </edit-config>
    <allow-intent href="http://*/*" />
    <allow-intent href="https://*/*" />
......
<network-security-config>
        <domain-config cleartextTrafficPermitted="true">
            <domain includeSubdomains="true">localhost</domain>
            <domain includeSubdomains="true">herokuapp.com</domain>
            <domain includeSubdomains="true">XY.174.XYY.76</domain>
            <domain includeSubdomains="true">dsd.ddd.cz</domain>
            <domain includeSubdomains="true">XX.80.ZZZ.19</domain>
            <domain includeSubdomains="true">xxx.yyyy.cz</domain>
            <domain includeSubdomains="true">http://xxx.yyy.cz</domain>
            <domain includeSubdomains="true">XX.80.ZZZ.194</domain>
            <domain includeSubdomains="true">xycd.cz</domain>
            <domain includeSubdomains="true">http://xycd.cz</domain>
            <domain includeSubdomains="true">CC.0.239.195</domain>
        </domain-config>
    </network-security-config>

    <platform name="android">
        <access origin="*" />
        <preference name="android-usesClearTextTraffic" value="true" />
        <editconfig file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application" xmlns:android="http://schemas.android.com/apk/res/android">
            <application android:networkSecurityConfig="@xml/network_security_config" />
        </edit-config>
.....

platforms/android/app/src/main/AndroidManifest.xml:

<?xml version='1.0' encoding='utf-8'?>
<manifest android:hardwareAccelerated="true" android:versionCode="1" android:versionName="0.0.1" package="io.ionic.starter" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools">
    <supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" />
    <uses-permission android:name="android.permission.INTERNET" />
    <application android:hardwareAccelerated="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:networkSecurityConfig="@xml/network_security_config" android:supportsRtl="true" android:usesCleartextTraffic="true" tools:targetApi="28">
        <activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode" android:label="@string/activity_name" android:launchMode="singleTop" android:name="MainActivity" android:theme="@android:style/Theme.DeviceDefault.NoActionBar" android:windowSoftInputMode="adjustResize">
            <intent-filter android:label="@string/launcher_name">
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

In resources/android/xml I have:

<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
    <base-config cleartextTrafficPermitted="true">
        <trust-archors>
            <certificates src="system"/>
        </trust-archors>
    </base-config>  
<network-security-config>
        <domain-config cleartextTrafficPermitted="true">
            <domain includeSubdomains="true">localhost</domain>
            <domain includeSubdomains="true">herokuapp.com</domain>
            <domain includeSubdomains="true">XY.174.XYY.76</domain>
            <domain includeSubdomains="true">dsd.ddd.cz</domain>
            <domain includeSubdomains="true">XX.80.ZZZ.19</domain>
            <domain includeSubdomains="true">xxx.yyyy.cz</domain>
            <domain includeSubdomains="true">http://xxx.yyy.cz</domain>
            <domain includeSubdomains="true">XX.80.ZZZ.194</domain>
            <domain includeSubdomains="true">xycd.cz</domain>
            <domain includeSubdomains="true">http://xycd.cz</domain>
            <domain includeSubdomains="true">CC.0.239.195</domain>
        </domain-config>
    </network-security-config>

Thanks guys again for help!

Posts: 1

Participants: 1

Read full topic

Splash Screen is stretched in some devices

$
0
0

@daniele-networkvisio wrote:

Hello.
I have built a Ionic v4 capacitor app. Everything fine, but we noticed a strange behavior with different devices, both in the class of xxhdpi (Android).

This is how it does appear in a Google Pixel 2 (5 inches, 1080x1920)

And this is how does it appear in a OnePlus 7T (6.55 inches, 1080x2400)

This is the sample splash screen which is being used by both

I tried to use a 9-patch and result was even worse, no matter what. I tried as well to increase height of this picture to 2400, but then i had the opposite issue with a smaller screen. I even tried to edit the native part of the app, editing any xml which had a reference to splsh.png, with no result other than make it even worse (mostly fullscreen and deformed logo). How can i preserve splash’s aspect ratio?

Thank you in advance.

Posts: 2

Participants: 2

Read full topic

E2e tests are not working

$
0
0

@OPerel wrote:

Hello all!
I just started a Stencil (@stencil/core@1.8.8) project to build a web app.
I want to integrate e2e tests which are supposed to be supported by Stencil out-of-the-box.
But just running the basic example tests throws errors.
The test:

import { newE2EPage } from '@stencil/core/testing';

describe('okta-login', () => {
  it('renders', async () => {
    const page = await newE2EPage();
    await page.setContent('<okta-login></okta-login>');

    const element = await page.find('okta-login');
    expect(element).toHaveClass('hydrated');
   });
});

And I get the errors:

okta-login
    × renders (5738ms)

  ● okta-login › renders

    Error: Constructor for "okta-login#undefined" was not found

      at initializeComponent (http:/localhost:3334/build/core-c49ddb62.js:2121:23)
      at Suite.<anonymous> (src/components/okta-login/login.e2e.ts:4:3)

  ● okta-login › renders

    App did not load in allowed time. Please ensure the content loads a stencil application.

      at waitForStencil (node_modules/@stencil/core/dist/testing/index.js:39878:15)

I also tried replacing this

const page = await newE2EPage();
await page.setContent('<okta-login></okta-login>');

with this

const page = await newE2EPage({ url: '/login' });

leaving everything else the same. But then I get

 FAIL  src/components/okta-login/login.e2e.ts (6.603s)
  okta-login
    × renders (3123ms)

  ● okta-login › renders

    expect toHaveClass value is null

       7 | 
       8 |     const element = await page.find('okta-login');  
    >  9 |     expect(element).toHaveClass('hydrated');        
         |                     ^
      10 |   });
      11 | 
      12 |   // it('title should read "Login"', async () => {  

      at Object.toHaveClass (node_modules/@stencil/core/dist/testing/index.js:37793:15)
      at Object.throwingMatcher [as toHaveClass] (node_modules/expect/build/index.js:342:33)
      at Object.<anonymous> (src/components/okta-login/login.e2e.ts:9:21)

It’s worth noting that I also have e2e tests for other components which looks exactly the same and works just fine. Some of my components’ tests are working and some not, with no visible reason.

Here are my package.json and stencil.config.ts:

{
  "name": "pualinastencil",
  "private": true,
  "version": "0.0.1",
  "description": "Stencil App Starter",
  "scripts": {
    "build": "stencil build",
    "start": "stencil build --dev --watch --serve",
    "test": "stencil test --e2e --devtools",
    "test.watch": "stencil test --spec --e2e --watchAll",
    "generate": "stencil generate"
  },
  "devDependencies": {
    "@stencil/core": "^1.8.8",
    "@stencil/router": "^1.0.1",
    "@types/jest": "24.0.25",
    "@types/puppeteer": "1.19.0",
    "jest": "24.9.0",
    "jest-cli": "24.9.0",
    "puppeteer": "1.19.0"
  },
  "license": "MIT",
  "dependencies": {},
  "jest": {
    "testTimeout ": 10000
  }
}
import { Config } from '@stencil/core';

// https://stenciljs.com/docs/config

export const config: Config = {
  globalStyle: 'src/global/app.css',
  globalScript: 'src/global/app.ts',
  outputTargets: [
    {
      type: 'www',
      // comment the following line to disable service workers in production
      serviceWorker: null,
      baseUrl: 'https://myapp.local/'
    }
  ],
  // testing: {
  //   browserHeadless: false,
  //   browserSlowMo: 1000
  // }
};

Thanks a lot
Any help would be greatly appreciated.

Posts: 1

Participants: 1

Read full topic

Ionic-4 : Background push notification using ngx-socket-io socket

$
0
0

@ionicdev-cis wrote:

How to implement background push notification to receive notification in the notification/status bar when the app is closed in ionic 4 using sockets.

Posts: 1

Participants: 1

Read full topic


Geolocation plugin: Ionic native vs Capacitor

$
0
0

@secretshardul wrote:

I was looking to integrate geolocation feature in my ionic v5 app. However I stumbled upon two divergent ways to do this, both specified in the official documentation:

  1. Ionic native: This page comes first in search. It provides a link to cordova-plugin-geolocation on Github.
  2. Capacitor geolocation API: Encountered this when reading about capacitor. This page was at the bottom in search results when I googled for “ionic geolocation”.

Bottom line, which is the better way to get geolocation in Ionic? If capacitor is the spiritual successor of Cordova, why does Ionic documentation still recommend Cordova for native features?

Posts: 1

Participants: 1

Read full topic

Enhancement Request for npx cap add electron

$
0
0

@mandolyte wrote:

When the command is run, it creates a package.json with hard-coded values for name and description:

$ cat package.json 
{
  "name": "capacitor-app",
  "version": "1.0.0",
  "description": "An Amazing Capacitor App",

And when the packager is run, it generates folders based on the “name” value. Request that arguments be provided to set these values so that they don’t have to be edited by hand (or sed in a Github Action).

So something like:
npx cap add electron -name "myApp" -description "A bit of description"

Thanks for your consideration.

Posts: 2

Participants: 2

Read full topic

Load ion-menu content from another component

$
0
0

@robyguglie wrote:

Hi! i’m using ionic and angular and i’m trying to crate a side-menu loading content from another component (page maybe?)… i will give you some exemple:

STANDARD FROM app.component:

<ion-app>
  <ion-menu contentId="main-content" side="start">
    <ion-header>
      <ion-toolbar>
        <ion-title>Menu</ion-title>
      </ion-toolbar>
    </ion-header>

    <ion-content>
      <ion-list>
        <ion-menu-toggle auto-hide="false" *ngFor="let page of pages">
          <ion-item [routerLink]="page.path" routerDirection="root" [class.active-menu]="activePath === page.path">
            {{page.name}}
          </ion-item>
        </ion-menu-toggle>
      </ion-list>
    </ion-content>
  </ion-menu>

  <ion-router-outlet id="main-content" main></ion-router-outlet>

</ion-app>

i want to create something like:
app.component:

<ion-app>
  <ion-menu contentId="main-content" side="start">
    <app-side-menu></app-side-menu>
  </ion-menu>

  <ion-router-outlet id="main-content" main></ion-router-outlet>

</ion-app>

side-menu:

<ion-header>
      <ion-toolbar>
        <ion-title>Menu</ion-title>
      </ion-toolbar>
    </ion-header>

    <ion-content>
      <ion-list>
        <ion-menu-toggle auto-hide="false" *ngFor="let page of pages">
          <ion-item [routerLink]="page.path" routerDirection="root" [class.active-menu]="activePath === page.path">
            {{page.name}}
          </ion-item>
        </ion-menu-toggle>
      </ion-list>
    </ion-content>

Is that possible? how can i route my app? thanks! (Sorry for my english)

Posts: 2

Participants: 2

Read full topic

Dropping UIWebView

$
0
0

@leydar wrote:

I’m running into an issue with iOS and UIWebView. Apple Store Connect is warning that its inclusion will block the app from being uploaded from April 2020. Apparently Cordova iOS 5.1.0 fixes this by using WKWebViewOnly instead.

I think my problem is that I’m using Capacitor (which doesn’t have the same problem) but I’m using a couple of Cordova plugins (BLE and Brightness) as there’s no cap equivalent.

Having done a string search for it in Xcode it appears in:

swiper-bundle
CDVCommandDelegate
CDVUIWebViewDelegate
CDVUserAgentUtil
CapacitorCordova-umbrella

Any idea how to get rid of it before Apple gets rid of my app?

Posts: 2

Participants: 2

Read full topic

When can we have ionic 5 in stackblitz

Viewing all 70432 articles
Browse latest View live


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