google-nearby

How to revoke Google Nearby permissions for an app?

喜你入骨 提交于 2020-03-05 03:55:27
问题 The first time I tried to test the Google Nearby API, I saw an "Allow to use Nearby" dialog which prompted for permission and this dialog mentioned that this setting could be changed later from Settings > Google > Nearby . However this location does not seem to exist on the app. I do see Settings > Google but there is no Nearby under the Google settings (tried on both device and emulator). I also found the same information online at https://support.google.com/accounts/answer/6260286?hl=en but

How to revoke Google Nearby permissions for an app?

筅森魡賤 提交于 2020-03-05 03:55:09
问题 The first time I tried to test the Google Nearby API, I saw an "Allow to use Nearby" dialog which prompted for permission and this dialog mentioned that this setting could be changed later from Settings > Google > Nearby . However this location does not seem to exist on the app. I do see Settings > Google but there is no Nearby under the Google settings (tried on both device and emulator). I also found the same information online at https://support.google.com/accounts/answer/6260286?hl=en but

Google Nearby Messages API Broke App Icon

混江龙づ霸主 提交于 2020-02-29 05:26:32
问题 After pod installing NearbyMessages and reinstall the app on the simulator or physical iOS device my app icon goes blank. I am using swift 3.2 and XCode Version 9.2 (9C40b). I am using NearbyMessages version 1.1.0. 回答1: I think when you open the xcworkspace check the app icon folder and see if there is an image in that and does it match the apples guidelines. 回答2: In Xcode 11.2, when I install NearbyMessages via Cocoapods, I get an error: warning: duplicate output file '/Users/.../Library

Google Nearby Messages API Broke App Icon

╄→尐↘猪︶ㄣ 提交于 2020-02-29 05:22:06
问题 After pod installing NearbyMessages and reinstall the app on the simulator or physical iOS device my app icon goes blank. I am using swift 3.2 and XCode Version 9.2 (9C40b). I am using NearbyMessages version 1.1.0. 回答1: I think when you open the xcworkspace check the app icon folder and see if there is an image in that and does it match the apples guidelines. 回答2: In Xcode 11.2, when I install NearbyMessages via Cocoapods, I get an error: warning: duplicate output file '/Users/.../Library

Nearby Connection 2.0: Identify endpoint over reconnection

泄露秘密 提交于 2020-01-13 19:42:08
问题 Is there a way to uniquely identify a discovered endpoint and persist that information over reconnection? Apparently the endpointId changes after a disconnection. If I correctly recall, in the former api there was a persistent identifier. 回答1: Nearby Connections doesn't support reconnections yet, but you can encode a persistent id in your endpoint name (eg. endpointName="1234:Will"). Please note that the endpoint name can be spoofed, so if you need a secure connection you need to either

Nearby Connections 2.0: When is simultaneous advertising/discovery possible?

十年热恋 提交于 2020-01-13 06:18:18
问题 I'm currently trying to simultaneously advertise and discover using the P2P_CLUSTER strategy. I believe that this should work, since the available documentation says the P2P_CLUSTER strategy supports M-N connection topology (where each device can both initiate outgoing connections to M other devices and accept incoming connections from N other devices). However, the same documentation also says that it's possible to simultaneously advertise and discover using the P2P_STAR strategy. So

How to resolve STATUS_OUT_OF_ORDER_API_CALL error?

拜拜、爱过 提交于 2020-01-06 07:45:23
问题 I am trying to create a Nearby app. I am trying to connect two devices. I found a device an endpoint and then I send a connection request with requestConnection method of Nearby API. In failure listener of this API I am getting "STATUS_OUT_OF_ORDER_API_CALL" in error message. What can be the possible reasons for this error, and how to handle it. Nearby.getConnectionsClient(context) .requestConnection(myEndPointName, endPointID, discoverConnectionLifecycleCallback) .addOnSuccessListener(new

Google nearby API background scan doesn´t work after application kill

烂漫一生 提交于 2019-12-30 07:00:10
问题 I have kontakt.io beacon and I try to write application for background scanning with nearby API. I use this method to subscribe messages: SubscribeOptions options = new SubscribeOptions.Builder() // Finds messages attached to BLE beacons. See // https://developers.google.com/beacons/ .setStrategy(Strategy.BLE_ONLY) .build(); Nearby.Messages.subscribe(mGoogleApiClient, getPendingIntent(), options) .setResultCallback(new ResultCallback<Status>() { @Override public void onResult(@NonNull Status