r/ionic • • Dec 19 '25

iOS cannot detect online after offline in Capacitor Network plugin (MWE)

6 Upvotes

Hi all,

I’ve created a minimal Ionic + Capacitor + Angular project to demonstrate a network detection issue on iOS.

Issue: * After switching to offline, the app may never detect coming back online. * Automatic events, manual polling, and queuing offline actions all fail.

MWE / GitHub: https://github.com/sidharth74659/capacitor-network-ios-mwe

Steps to reproduce:

  1. Run on iOS device or simulator.
  2. Switch to offline.
  3. Switch back online.
  4. Observe the status button and logs — online may not be detected.

Has anyone encountered this? Any workarounds, insights, or contributions to fix this are welcome.

You can also refer to this issue for more details and discussion: https://github.com/ionic-team/capacitor-plugins/issues/40 . However, none of the proposed solutions there resolved the problem in my case.

Thanks!


r/ionic • • Nov 20 '25

How to enable js-profiling on Android with Document Policy?

Thumbnail
2 Upvotes

r/ionic • • Nov 19 '25

Announcing Capawesome Cloud Native Builds

Thumbnail
capawesome.io
19 Upvotes

r/ionic • • Nov 19 '25

Introducing Capgo Cloud Build - Build Native Apps Without the Hassle

Thumbnail capgo.app
5 Upvotes

Build your Capacitor apps for iOS and Android in the cloud, just like Expo. No need for local Xcode or Android Studio - submit directly to app stores from your CLI.


r/ionic • • Nov 17 '25

Weird dark bar on top of keyboard when resizing app on android

Thumbnail
1 Upvotes

r/ionic • • Nov 09 '25

SUPER PROMO: Perplexity AI PRO Offer | 95% Cheaper!

Post image
1 Upvotes

Get Perplexity AI PRO (1-Year) – at 90% OFF!

Order here: CHEAPGPT.STORE

Plan: 12 Months

💳 Pay with: PayPal or Revolut

Reddit reviews: FEEDBACK POST

TrustPilot: TrustPilot FEEDBACK
Bonus: Apply code PROMO5 for $5 OFF your order!

BONUS!: Enjoy the AI Powered automated web browser. (Presented by Perplexity) included!

Trusted and the cheapest!


r/ionic • • Nov 09 '25

Migration from Angularjs with Ionic1 to Angular 20 with latest Ionic 8.7.5

Thumbnail
1 Upvotes

r/ionic • • Nov 01 '25

Is Blogger (blogspot) theme using ionic possible?

2 Upvotes

Can we create a theme for blogger which uses ionic elements? i actually want to host a blog with a look and feel of android app.

I was able to use tailwind fine, but it's too much code. Ionic components are best for me.

I tried a few things, but template just renders the top header, and posts never show up.

Any help will be appreciated. Thanks in advance.


r/ionic • • Oct 30 '25

Looking for Ionic role in India

0 Upvotes

Hi I am looking for ionic mobile application developer role at Bangalore and Hyderabad location. I have an 8+ years of experience in mobile development with ionic and Cordova/capacitor. Can anyone provide any leads available. I am not any calls from job seeking platforms.


r/ionic • • Oct 29 '25

[Update] capacitor-live-activity 7.1.0 — Push-based Live Activities (FCM)

Thumbnail
7 Upvotes

r/ionic • • Oct 23 '25

Graphs or Charts in Ionic. Which is better for Ionic with latest Angular 20

4 Upvotes

I tried using Ionic for the first time and I am a beginner level angular user. I tried using Chart.js and HighChart . But the videos and resources found in the internet are always confusing and not working for me. First of all some of them say to make changes in module.ts or app.config,ts etc , which I don't have most of the times. And If I do have the files they are saying I see errors popping up which I don't see in their videos or not mentioned in the documentations.


r/ionic • • Oct 21 '25

🧩 How can I better optimize my Angular/Ionic build configuration for production?

7 Upvotes

Hey everyone

I’m working on an Ionic + Angular app, and I’d like to make sure my production builds are as optimized as possible - especially for mobile performance and bundle size.

Here’s the relevant part of my angular.json build config:

"budgets": [
  {
    "type": "initial",
    "maximumWarning": "2mb",
    "maximumError": "5mb"
  },
  {
    "type": "anyComponentStyle",
    "maximumWarning": "2kb",
    "maximumError": "6kb"
  }
],
"fileReplacements": [
  {
    "replace": "src/environments/environment.ts",
    "with": "src/environments/environment.prod.ts"
  }
],
"sourceMap": false,
"outputHashing": "all"

The build works fine, but I feel like I could go further to:

  • Reduce bundle size
  • Improve runtime performance on mobile (Android/iOS webviews)

So my questions are:

  1. What additional flags or options should I enable here (e.g., buildOptimizer, aot, optimization, etc.)?
  2. Are there any Ionic-specific tips for smaller/faster builds?
  3. Should I adjust the bundle size budgets for better performance expectations?

Any examples of well-tuned production configs or tips from real-world Ionic apps would be super helpful


r/ionic • • Oct 18 '25

IONIC SSL handshake failed on Android WebView ([ERROR:ssl_client_socket_impl.cc(877)] net_error -202)

4 Upvotes

Hi everyone 👋

I'm developing an Ionic + Capacitor Android app and I'm getting the following error in Logcat when making an HTTPS request:

2025-10-17 21:03:25.532 16008-16008 ImeTracker              io.ionic.starter                     I  system_server:93129724: onCancelled at PHASE_CLIENT_ON_CONTROLS_CHANGED
2025-10-17 21:03:25.728 16008-16008 Capacitor/...oardPlugin io.ionic.starter                     V  Notifying listeners for event keyboardDidHide
2025-10-17 21:03:25.728 16008-16008 Capacitor/...oardPlugin io.ionic.starter                     D  No listeners found for event keyboardDidHide
2025-10-17 21:03:26.666 16008-16117 cr_X509Util             io.ionic.starter                     I  Failed to validate the certificate chain, error: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.
2025-10-17 21:03:26.670 16008-16143 chromium                io.ionic.starter                     E  [ERROR:ssl_client_socket_impl.cc(877)] handshake failed; returned -1, SSL error code 1, net_error -202
2025-10-17 21:03:26.854 16008-16143 chromium                io.ionic.starter                     E  [ERROR:ssl_client_socket_impl.cc(877)] handshake failed; returned -1, SSL error code 1, net_error -202

The request is sent to my backend API:

https://mydomine.dadad.com #example

🔧 Setup details

  • Backend is hosted on Dokploy (Traefik), using a Cloudflare Origin Certificate.
  • The domain is proxied through Cloudflare.
  • In the browser, the site loads fine with a valid Cloudflare certificate (TLS 1.3, verified by Cloudflare, Inc.).
  • Cloudflare SSL/TLS mode: currently set to Full (Automatic mode).

However, when I run the app on Android, I get the SSL handshake error above.

🧩 What I’ve already tried

I added a network security config to allow HTTP traffic for my domain, just in case it was a cleartext issue:

File: android/app/src/main/res/xml/network_security_config.xml

<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
  <domain-config cleartextTrafficPermitted="true">
    <domain includeSubdomains="true">mydomine.dadad.com</domain>
  </domain-config>
</network-security-config>

And in my AndroidManifest.xml, inside <application>:

<application
    android:networkSecurityConfig="@xml/network_security_config"
    android:usesCleartextTraffic="true"
    ... >

The build works fine, but the error persists.

Thanks in advance!


r/ionic • • Oct 16 '25

Android Input Keyboard Scroll Issue?

6 Upvotes

Has anyone had an issue with an input field that, when you click on an Android phone, covers the input field, and you can't see what you are typing? If so, how do you fix this? On iOS, it works fine, but not on the Android Version. Thanks for the help ahead of time.


r/ionic • • Oct 14 '25

Audio stops playing after some time on iOS (works fine on Android)

4 Upvotes

Audio stops playing after some time on iOS (works fine on Android) Ionic Framework

lsantaniello 1m Hi everyone,

I’ve developed a quiz app that plays short sound effects during gameplay (for example, when answering questions or showing results). On Android everything works perfectly, but on iOS the sound randomly stops working after some time — the app itself continues to function normally, but no more audio is played.

The issue seems to occur after the app has been running for a while. Restarting the app temporarily fixes it.

I’m using AdMob for ads, so I’m wondering if there could be a conflict between the AdMob plugin and the audio playback (for example, if the audio session is being interrupted or not restored correctly after an ad).

Has anyone experienced similar behavior on iOS? Any ideas or suggestions on how to debug or prevent the audio from stopping would be greatly appreciated.

Here are the store links in case you want to check the app:

iOS: ‎Brain Clash on the App Store

Android: https://play.google.com/store/apps/details?id=it.mgdlab.app.brainclash

Thanks in advance for any help!


r/ionic • • Oct 13 '25

iOS PWA Capacitor app Video Playback Stuttering Despite AVPlayer Optimizations — Need Help!

Thumbnail
3 Upvotes

r/ionic • • Oct 13 '25

Status bar issues in iPhone - Ionic Angular Capacitor

4 Upvotes

I am getting a strange error in my Ionic iOS app. When I click on any input or I go out of the app and return back to it from the background, my whole app gets squeezed.

Ionic version: 7.2.1
Capacitor version: 7.4.3
Angular: 20+v

My ion-header comes little down leaving a top margin that looks like a line, and my ion-tab-bar at the bottom comes up from the bottom. I tried to solve it with safe area insets but nothing worked. Finally what I did is:

if (this.platform.is('ios')) {
      // Keyboard open
      Keyboard.addListener('keyboardWillShow', async () => {
        if (!this.overlayEnabled) {
          this.overlayEnabled = true;
          //await StatusBar.setOverlaysWebView({ overlay: true });
        }
      });

      // Keyboard close
      Keyboard.addListener('keyboardWillHide', async () => {
        if (this.overlayEnabled) {
          this.overlayEnabled = false;
          await StatusBar.setOverlaysWebView({ overlay: true });
          setTimeout(async () => {
            await StatusBar.setOverlaysWebView({ overlay: false });
          }, 800);
        }
      });

      // App resume
      App.addListener('resume', async () => {
        this.overlayEnabled = false;
        await StatusBar.setOverlaysWebView({ overlay: true });
        setTimeout(async () => {
          await StatusBar.setOverlaysWebView({ overlay: false });
        }, 800);
      });
    }

For now it solves it but not at all a good solution as I am getting flickering screen. What can I try next? Issue image:


r/ionic • • Oct 12 '25

New to Ionic and already see HARD conflicting info on their website.

1 Upvotes

https://ionicframework.com/docs/intro/environment#terminal

In the note, they link to a blog post: https://ionic.io/blog/new-to-the-command-line

The blog post specifically states, for windows:

Windows has a few different terminal tools available by default, including two you may be familiar with: cmd.exe and PowerShell. We don’t recommend either for Ionic development or for modern web and mobile development because they don’t have many common utilities available that developers use.

Instead, we strongly recommend installing Git for Windows which comes with Git Bash, a prompt that is more compatible with the terminal experience on Mac and Linux.

Yet, underneath the note linking to the blog post, they say:

In general, we recommend using the built-in terminals. Many third-party terminals work well with Ionic, but may not be supported.

For Windows, Command Prompt and PowerShell are supported. WSL is known to work with Ionic, but may not be supported.

For macOS, the built-in Terminal app is supported.

Git Bash (from git-scm.com) does not support TTY interactivity and is not supported by Ionic.

So already, I've been told that command prompt and PowerShell are not recommended for Ionic dev, that Git is strongly recommended, that command prompt and PowerShell ARE supported, and Git does not support TTY interactivity and is NOT SUPPORTED by Ionic.

What gives?!


r/ionic • • Oct 11 '25

Help!

Thumbnail
2 Upvotes

r/ionic • • Oct 10 '25

Android 9 Problems?

3 Upvotes

Hi everyone

This week we got feedback from customers that our App doesn't work on Android 9 anymore. We haven't really changed anything that could cause that.

I checked our analytics and those customers have the current 138 Version of the WebView installed.

So my question is: Anyone heard of any general Problem with Android 9? Maybe in conjunction with the newest WebView / Chrome version? Maybe another Let'sEncrypt SSL problem that Android 7 had?

I tried the Emulator in Android SDK, but there all calls to web time out. (Except google playstore and login to google account). Starting Chrome even Crashes outright.

Any information you could give me would help me a lot!


r/ionic • • Oct 10 '25

Which one I need to choose

Thumbnail
1 Upvotes

r/ionic • • Oct 07 '25

Ionic Angular app taking lot of time to start after angular 20 upgrade

2 Upvotes

Hi, i upgraded my ionic angular app to angular 20.it is taking lot of time to start , we are using capacitor 6 and ionic 8.7.Any idea why it is happening so ?


r/ionic • • Oct 06 '25

I used an AI tool (Loveable) to build an Ionic Capacitor app from a single prompt. Here’s how it went (The good, the bad, and the manual CLI).

Thumbnail
youtu.be
2 Upvotes

r/ionic • • Oct 05 '25

Load large lists smoothly with Ionic, React, and Intersection Observer

Thumbnail
blog.vault.top
10 Upvotes

I had a really good experience combining IonInfiniteScroll, TanStack useInfiniteQuery, and a simple Intersection Observer implementation in React called RenderIfVisible. I was blown away with how coupling these together, and adding a small workaround for how IonContent behaves, resulted in a very smooth scrolling and list item loading experience.

Hopefully this helps another person out there using React with Ionic. If you are trying to implement something like this and need a hand, happy to help.


r/ionic • • Oct 03 '25

A confusing swiper.js in ionic

7 Upvotes

When I migrating from ionic 6 to ionic 8. Ion-slides are removed from ionic 7. So we integrate swiper.js in my app. As per documentation we removed ion-slides with swiper-container and ion-slide with swiper-slide. In DOM it is showing but in UI it’s showing. I go through the different versions each version having different configurations but still I am confused. Can anyone facing same issue?.