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

[carp_context_package] Update documentation after change from carp_background_location to location #218

Closed
MadsVSChristensen opened this issue Oct 12, 2021 · 1 comment

Comments

@MadsVSChristensen
Copy link

Release 0.30.1 changed background location package from carp_background_location to location but the documentation still says to change the AppDelegate.swift to import old plugin dependency background_locator.

This causes the following error, as background_locator is no longer part of the project:

 .../ios/Runner/AppDelegate.swift:18:8: error: no such module 'background_locator'
    import background_locator

AppDelegate.swift can be reversed back to:

import UIKit
import Flutter

@UIApplicationMain
@objc class AppDelegate: FlutterAppDelegate {
  override func application(
    _ application: UIApplication,
    didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
  ) -> Bool {
    GeneratedPluginRegistrant.register(with: self)
    return super.application(application, didFinishLaunchingWithOptions: launchOptions)
  }
}

@bardram
Copy link
Contributor

bardram commented Oct 27, 2021

Fixed as part of release 0.31.0.

@bardram bardram closed this as completed Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants