Skip to content

Error: Plugin WifiWizard2 does not respond to method call add. Ensure plugin method exists and uses @objc in its declaration #131

@sultanmyrza

Description

@sultanmyrza

Anyone got working WifiWizzard2 with ios?

I created fresh project ionic start photo-gallery tabs --type=angular --capacitor add WifiWizard2
and when I try to connect to my wifi with ssid: MY-WIFI-SSID and pass: MY-WIFI-PASS I got this error

To Native Cordova ->  WifiWizard2 add WifiWizard2254455059 ["options": ["MY-WIFI-SSID", WPA, "MY-WIFI-PASS", 0]]
Error: Plugin WifiWizard2 does not respond to method call add:.
Ensure plugin method exists and uses @objc in its declaration

My environment

xcode version 12.3 (12C33)

real device ios 14.6

My Runner.entitlements

Screen Shot 2021-08-11 at 6 36 01 PM

click to expand
<dict>
    <key>com.apple.developer.networking.HotspotConfiguration</key>
    <true/>
    <key>com.apple.developer.networking.networkextension</key>
    <array>
  	  <string>app-proxy-provider</string>
    </array>
    <key>com.apple.developer.networking.wifi-info</key>
    <true/>
    <key>com.apple.external-accessory.wireless-configuration</key>
    <true/>
</dict>

My Info.plist

click to expand
<plist version="1.0">
<dict>
    <key>CFBundleDevelopmentRegion</key>
    <string>$(DEVELOPMENT_LANGUAGE)</string>
    <key>CFBundleExecutable</key>
    <string>$(EXECUTABLE_NAME)</string>
    <key>CFBundleIdentifier</key>
    <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
    <key>CFBundleInfoDictionaryVersion</key>
    <string>6.0</string>
    <key>CFBundleName</key>
    <string>goproexperiments</string>
    <key>CFBundlePackageType</key>
    <string>APPL</string>
    <key>CFBundleShortVersionString</key>
    <string>$(FLUTTER_BUILD_NAME)</string>
    <key>CFBundleSignature</key>
    <string>????</string>
    <key>CFBundleVersion</key>
    <string>$(FLUTTER_BUILD_NUMBER)</string>
    <key>LSRequiresIPhoneOS</key>
    <true/>
    <key>NSBluetoothAlwaysUsageDescription</key>
    <string>Need BLE permission</string>
    <key>NSBluetoothPeripheralUsageDescription</key>
    <string>Need BLE permission</string>
    <key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
    <string>Need Location permission</string>
    <key>NSLocationAlwaysUsageDescription</key>
    <string>Need Location permission</string>
    <key>NSLocationWhenInUseUsageDescription</key>
    <string>Need Location permission</string>
    <key>UILaunchStoryboardName</key>
    <string>LaunchScreen</string>
    <key>UIMainStoryboardFile</key>
    <string>Main</string>
    <key>UISupportedInterfaceOrientations</key>
    <array>
  	  <string>UIInterfaceOrientationPortrait</string>
  	  <string>UIInterfaceOrientationLandscapeLeft</string>
  	  <string>UIInterfaceOrientationLandscapeRight</string>
    </array>
    <key>UISupportedInterfaceOrientations~ipad</key>
    <array>
  	  <string>UIInterfaceOrientationPortrait</string>
  	  <string>UIInterfaceOrientationPortraitUpsideDown</string>
  	  <string>UIInterfaceOrientationLandscapeLeft</string>
  	  <string>UIInterfaceOrientationLandscapeRight</string>
    </array>
    <key>UIViewControllerBasedStatusBarAppearance</key>
    <false/>
</dict>
</plist>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions