Commit Graph
775 Commits
Author SHA1 Message Date
jfcarroll 2dca231337 This fixes the memory issues in bluetooth_adapter.cc
PiperOrigin-RevId: 441012332
2022-04-11 15:30:06 -07:00
hai007 5ef871fda1 Add wifi_lan_test to exclude list
PiperOrigin-RevId: 440958077
2022-04-11 12:01:39 -07:00
hai007 096a627bfc Fix the wrong file in a previous commit
PiperOrigin-RevId: 440932517
2022-04-11 10:39:13 -07:00
hai007 1016ce4167 Update swift package to reflect a file name change.
PiperOrigin-RevId: 440922827
2022-04-11 10:06:17 -07:00
edwinwu a6f4bb9c04 [iOS NC] LSC: Separate third_party/nearby/internal/platform/implementation/ios to
- third_party/nearby/internal/platform/implementation/ios (for platform)
- third_party/nearby/connections/clients/ios (for connections)
- third_party/nearby/connections/samples/ios (for sample codes)

PiperOrigin-RevId: 440895852
2022-04-11 08:19:27 -07:00
edwinwu fcb3b27314 BEGIN_PUBLIC
[iOS] Fixes the file_path is empty when "CreateIncomingInternalPayload" in internal_payload_factory. If empty then use the payload_id for the file_name.
END_PUBLIC

- This is for the way iOS -> Android file transfer.
- CC_MD5 is deprecated in iOS13, change to CC_SHA256
- UIImageWriteToSavedPhotosAlbum, the UIImage* is nil after completion callback to the selector "didFinishSavingWithError". Changes to show image by "showReceivedImage" after write to Photo album.
- "NSDownloadsDirectory" seems have
<<Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “Downloads” in the folder>>. Changes to use "NSTempDirectory".

PiperOrigin-RevId: 440808267
2022-04-11 00:18:05 -07:00
hai007 68ede1db20 WIFI Hotspot implementation (2)
Part 2: Connection common code for WIFI Hotspot

PiperOrigin-RevId: 440537272
2022-04-09 01:24:14 -07:00
edwinwu 0c8838ad9b Deprecates the InputFile with PayloadId and replace the one with file path.
PiperOrigin-RevId: 440516892
2022-04-08 21:44:01 -07:00
jfcarroll 4c13db0c2d This is a fix for incoming payloads not having a file_name set.
PiperOrigin-RevId: 440438936
2022-04-08 13:25:42 -07:00
hai007 43a165e418 WIFI Hotspot implementation (1)
Part 1: Internal common code

PiperOrigin-RevId: 440437253
2022-04-08 13:18:47 -07:00
edwinwu 59ea8e8005 [BLE Refactor] Add Psm value to BleAdvertisement and BleAdvertisementHeader.
PiperOrigin-RevId: 440410863
2022-04-08 11:20:59 -07:00
suetfei 338faab8c9 Merge pull request #574 from deling-google/fixproto
Check in compiled proto files and fix build
2022-04-07 13:34:06 -07:00
hai007 d21ff8270b BEGIN_PUBLIC
Fix Package.swift to eliminate a warning, exclude a new test, and use precompiled proto headers.
END_PUBLIC

PiperOrigin-RevId: 440152961
2022-04-07 11:11:38 -07:00
suetfei ba3c8810e1 BEGIN_PUBLIC
Internal Flow fix (again)
ENG_PUBLIC

Exclude compiled_proto dir.

PiperOrigin-RevId: 440143840
2022-04-07 10:38:51 -07:00
hai007 077a901654 Add connections:core as required dependency to use the DLL's headers.
When creating a cc_library with core_adapter dependency,
the headers from connections:core are not exported result in
headers not found. This change add connections:core as required
dependency to make the build pass.

PiperOrigin-RevId: 440134598
2022-04-07 10:04:58 -07:00
deling-google ba3a2b7017 Check in compiled proto files and fix build 2022-04-07 00:04:55 -07:00
hai007 6b3402ccd0 Disable layering check for objc_library
In preparation for enabling layering check by default for
objc_library, we are disabling layering check for any targets or
packages that would otherwise fail.

PiperOrigin-RevId: 439900062
2022-04-06 12:01:37 -07:00
eidenkim e382c7d230 Added payload bytes to the payload callback
PiperOrigin-RevId: 439672387
2022-04-05 14:10:57 -07:00
suetfei 92682f6923 Update README
PiperOrigin-RevId: 439611406
2022-04-05 10:11:51 -07:00
suetfei 6a6d3c3526 Delete sharing_enums.pb.h 2022-04-05 09:55:04 -07:00
suetfei 6585aaf11e Delete sharing_enums.pb.cc 2022-04-05 09:54:52 -07:00
suetfei 534a3be9cd Delete connections_enums.pb.h 2022-04-05 09:54:36 -07:00
suetfei 086fa4ffbe Delete connections_enums.pb.cc 2022-04-05 09:54:28 -07:00
suetfei 607cf4be72 Delete connections_log.pb.h 2022-04-05 09:52:55 -07:00
suetfei e372d2166a Delete connections_log.pb.cc 2022-04-05 09:52:45 -07:00
suetfei d99101d23d Delete web_rtc_signaling_frames.pb.h 2022-04-05 09:52:15 -07:00
suetfei c36a6fcfdf Delete web_rtc_signaling_frames.pb.cc 2022-04-05 09:52:06 -07:00
suetfei 1dc22600cd Delete nfc_frames.pb.h 2022-04-05 09:51:55 -07:00
suetfei 83cb6ac3b5 Delete nfc_frames.pb.cc 2022-04-05 09:51:47 -07:00
suetfei 0476c8e209 Delete ble_frames.pb.h 2022-04-05 09:51:39 -07:00
suetfei cd3315ad8b Delete ble_frames.pb.cc 2022-04-05 09:51:32 -07:00
suetfei 830f8a6174 Delete error_code_enums.pb.h 2022-04-05 09:51:16 -07:00
suetfei ab8e12e054 Delete error_code_enums.pb.cc 2022-04-05 09:50:59 -07:00
suetfei 82cd2d5e6c Delete offline_wire_formats.pb.h 2022-04-05 09:50:27 -07:00
suetfei 983f5e0c61 Delete offline_wire_formats.pb.cc 2022-04-05 09:50:09 -07:00
bourdakos 9429d0f383 In the connection initiated handler, return endpoint info as NSData instead of casting to a String
PiperOrigin-RevId: 439382816
2022-04-04 12:28:17 -07:00
edwinwu 0747c0a349 [BLE Refactor] Tune BleAdvertisement, BleAdvertisementHeader, BlePeripheral, AdvertisementReadResult, BleUtils.
PiperOrigin-RevId: 439365106
2022-04-04 11:19:24 -07:00
hai007 7eded6c621 Sends FILE payload with file path/name directly as underlaying File and Payload code can support it now
PiperOrigin-RevId: 439336659
2022-04-04 09:36:15 -07:00
suetfei e281627e55 Create sharing_enums.pb.h 2022-04-04 00:57:31 -07:00
suetfei 7d6e61e59e Create sharing_enums.pb.cc 2022-04-04 00:57:06 -07:00
suetfei 03f4bfaf41 Create web_rtc_signaling_frames.pb.h 2022-04-04 00:55:46 -07:00
suetfei 8ef586cc40 Create web_rtc_signaling_frames.pb.cc 2022-04-04 00:55:18 -07:00
suetfei 3ab871d6b7 Create nfc_frames.pb.h 2022-04-04 00:54:25 -07:00
suetfei cde9ea1e67 Create nfc_frames.pb.cc 2022-04-04 00:53:54 -07:00
suetfei ca90cf06e9 Create ble_frames.pb.h 2022-04-04 00:53:23 -07:00
suetfei cbba00a38a Create ble_frames.pb.cc 2022-04-04 00:52:36 -07:00
suetfei 1af4066c2e Create error_code_enums.pb.h 2022-04-04 00:51:09 -07:00
suetfei f5bb4ff3c0 Create error_code_enums.pb.cc 2022-04-04 00:50:35 -07:00
suetfei 5f606aac59 Create connections_enums.pb.h 2022-04-04 00:49:27 -07:00
suetfei 29be0ce842 Create connections_enums.pb.cc 2022-04-04 00:48:15 -07:00