beacons icon indicating copy to clipboard operation
beacons copied to clipboard

Issues with using this plugin in newest version of flutter

Open tmello01 opened this issue 6 years ago • 1 comments

I was having the same initial errors as defined in issue #1. However, after following the instructions, I now no longer get an error, instead don't get a build at all. The Xcode build time doubled, and now the application hangs on the Install and Launch option.

Flutter version: 1.0 CocoaPods version: 1.5.3

I've attached my pod file if that helps. Podfile.zip

tmello01 avatar Dec 19 '18 19:12 tmello01

You can try this pull request https://github.com/loup-v/beacons/pull/30.

I needed to add this to the info.plist:

<key>NSLocationAlwaysUsageDescription</key>
<string>Reason why app needs location</string>
<key>NSLocationUsageDescription</key>
<string>Reason why app needs location</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>Reason why app needs location</string>
<key>UIBackgroundModes</key>
<array>
    <string>fetch</string>
    <string>location</string>
    <string>remote-notification</string>
</array>

In case of a Dart VM error, this should work: https://github.com/flutter/flutter/issues/24641#issuecomment-442920402

d-wolf avatar Mar 06 '19 08:03 d-wolf