Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: click statusbar can not fire 'statusTap' event on ios platform #2452

Closed
1 task done
2018Cool opened this issue Feb 19, 2020 · 2 comments
Closed
1 task done

bug: click statusbar can not fire 'statusTap' event on ios platform #2452

2018Cool opened this issue Feb 19, 2020 · 2 comments

Comments

@2018Cool
Copy link

2018Cool commented Feb 19, 2020

Bug Report

click statusbar can not fire 'statusTap' event on ios platform

Capacitor Version

npx cap doctor output:
Latest Dependencies:

@capacitor/cli: 1.5.0

@capacitor/core: 1.5.0

@capacitor/android: 1.5.0

@capacitor/ios: 1.5.0

Installed Dependencies:

@capacitor/android not installed

@capacitor/cli 1.5.0

@capacitor/core 1.5.0

@capacitor/ios 1.5.0

Found 0 Capacitor plugins for ios:

Affected Platform(s)

  • iOS

Sample Code or Sample Application Repo

import { Component } from '@angular/core';

@Component({
  selector: 'app-tab1',
  templateUrl: 'tab1.page.html',
  styleUrls: ['tab1.page.scss']
})
export class Tab1Page {

  constructor() {
    window.addEventListener('statusTap', function () {
      console.log("statusbar tapped");
    });
  }

}

@jcesarmobile
Copy link
Member

duplicate of #2109

@ionitron-bot
Copy link

ionitron-bot bot commented Nov 12, 2022

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Capacitor, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Nov 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants