小编Mer*_*rry的帖子

如何在不知道iOS中的UUID的情况下检测ibeacon设备?

我想在不知道uuid的情况下开发能够检测到许多信标设备的应用程序.但是我找不到办法做到这一点.我必须在代码中定义uuid.

我开发了一种可与已知设备配合使用的POC.

我的视图控制器代码:

-(void)setUpview
{
     // Regardless of whether the device is a transmitter or receiver, we need a beacon region.
    NSUUID * uid = [[NSUUID alloc] initWithUUIDString:@"78CDC73D-D678-4B35-A88A-C2E09E5B963F"];//[UIDevice currentDevice].identifierForVendor;
    treasureId = @"com.eden.treasure";
    self.beaconRegion = [[CLBeaconRegion alloc] initWithProximityUUID:uid identifier:treasureId];

    // Location manager.
    self.locationManager = [[CLLocationManager alloc] init];
    self.locationManager.delegate = self;

    if([self.locationManager respondsToSelector:@selector(requestAlwaysAuthorization)]) {
        [self.locationManager requestAlwaysAuthorization];
    }

    [self.locationManager startMonitoringForRegion:self.beaconRegion];
    [self.locationManager startRangingBeaconsInRegion:self.beaconRegion];
    [self locationManager:self.locationManager didStartMonitoringForRegion:self.beaconRegion];

    [self.beaconRegion setNotifyEntryStateOnDisplay:YES];
    [self.beaconRegion setNotifyOnEntry:YES];
    [self.beaconRegion setNotifyOnExit:YES];

//    self.peripheralManager = [[CBPeripheralManager alloc] initWithDelegate:self queue:nil];
    if ([UIDevice currentDevice].userInterfaceIdiom==UIUserInterfaceIdiomPad || [[[UIDevice …
Run Code Online (Sandbox Code Playgroud)

iphone objective-c ios core-bluetooth ibeacon

4
推荐指数
1
解决办法
4812
查看次数

Jitsi meet in flutter 不适用于 android 12

我已经集成了 jitsi_flutter 用于群组通话。但是,该应用程序未安装在最新的 Android 支持版本 12 中。

这是我使用过的 jitsi_flutter 的链接。 https://github.com/gunschu/jitsi_meet

当我尝试在 Android 12 支持的设备上运行该应用程序时,我遇到了此问题。

adb: failed to install E:\Flutter\flutter_jitsi\build\app\outputs\flutter-apk\app.apk: Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED: Failed parse during installPackageLI: /data/app/vmdl502165721.tmp/base.apk (at Binary XML file line #110): org.jitsi.meet.sdk.ConnectionService: Targeting S+ (version 31 and above) requires that an explicit value for android:exported be defined when intent filters are present]
Error launching application on sdk gphone64 x86 64.
Run Code Online (Sandbox Code Playgroud)

android flutter jitsi-meet lib-jitsi-meet android-12

1
推荐指数
1
解决办法
3041
查看次数