Closed jkyoutsey closed 1 year ago
Thank you for your request. Please provide a Minimal, Reproducible Example in a public GitHub repository so I can debug the issue.
This was a bug on my end. In Nx + ionic the cap add isn't adding plugins to the includePlugins array in the app's capacitor.config.
Plugin version: ^4.2.0
Platform(s): iOS simulator, Ionic, Nx
Current behavior: In Simulator I see the following error reported when I call PrivacyScreen.enable():
Expected behavior: PrivacyScreen.enable() should not throw errors on iOS
Steps to reproduce: Call PrivacyScreen.enable().
Related code: Using a simple Angular service to enable/disable:
Other information: I'm in an Nx repo with an Ionic application.
My
apps/my-app/ios/App/App/capacitor.config.json
has this configuration.My
apps/my-app/package.json
has the plugin listed:Capacitor doctor: