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

Implement iOS side #4

Open
mannprerak2 opened this issue Oct 7, 2019 · 17 comments
Open

Implement iOS side #4

mannprerak2 opened this issue Oct 7, 2019 · 17 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@mannprerak2
Copy link
Owner

mannprerak2 commented Oct 7, 2019

Currently, this library supports only android to android communication.

It is possible to add iOS to iOS communication to this plugin
using the MultipeerConnectivity library for iOS
Any help to achieve this will be appreciated.

EDIT 1:
This might become a better option in the future https://github.com/google/nearby/tree/main/connections/swift/NearbyConnections/Example

@mannprerak2 mannprerak2 added enhancement New feature or request hacktoberfest help wanted Extra attention is needed labels Oct 7, 2019
@mannprerak2
Copy link
Owner Author

See this for help with iOS side implementation.

Note: For hacktoberfest, you can submit as many PR's on this as you want (As this is not a trivial issue).

@mavyfaby
Copy link

mavyfaby commented Apr 8, 2022

Any news for this?

@mannprerak2
Copy link
Owner Author

Hi @mavyfaby, currently I am unable to pursue this due to lack of time.

@Pl1997
Copy link

Pl1997 commented Jun 8, 2023

Hello ! It appears that the nearby connections API now supports iOS (see recently updated docs)... Does this open any new bright future about this subject ?

Thank you !

@mannprerak2
Copy link
Owner Author

@Pl1997 can you send me the link?

Is it possible you are talking about the nearby messaging API instead?

@Pl1997
Copy link

Pl1997 commented Jun 8, 2023

Thank you for your interest ! Here are the links, the related support section appeared only very recently
https://github.com/google/nearby/tree/main/connections/swift/NearbyConnections/Example
https://developers.google.com/nearby/connections/overview

(see also this : google/nearby#1720 )

@mannprerak2
Copy link
Owner Author

@Pl1997
We're stuck for now, since nearby_connections on iOS is only available via SPM, until one of these is resolved-

  1. Add CocoaPods support google/nearby#1685
  2. Investigate Swift Package Manager for Swift plugins flutter/flutter#33850

@mannprerak2 mannprerak2 changed the title Implement iOS side using MultipeerConnectivity Implement iOS side Jun 11, 2023
@anilari
Copy link

anilari commented Jun 15, 2023

@mannprerak2
Copy link
Owner Author

@anilari Yeah this needs the nearby connections library.

We can't yet expose this as a plugin, since the iOS flutter build will only resolve cocoapod dependencies (while this requires SPM)

@anilari
Copy link

anilari commented Jun 15, 2023

I found a workaround here, https://stackoverflow.com/questions/65864229/build-error-when-adding-a-dependency-using-swift-package-manager-in-xcode-for-a will try to do it with an example plugin.

@timarnoldev
Copy link

+1

3 similar comments
@pmietlicki
Copy link

+1

@ihdream72
Copy link

+1

@thanglq1
Copy link

thanglq1 commented Feb 6, 2024

+1

@Pl1997
Copy link

Pl1997 commented Feb 6, 2024

@Pl1997 We're stuck for now, since nearby_connections on iOS is only available via SPM, until one of these is resolved-

  1. Add CocoaPods support google/nearby#1685
  2. Investigate Swift Package Manager for Swift plugins flutter/flutter#33850

Hello ! I found this, would it possibly help ?

https://github.com/trinhngocthuyen/cocoapods-spm

@mannprerak2
Copy link
Owner Author

Hi @Pl1997 I'm not sure since I don't have much experience working with SPM or CocoaPods.

Would really appreciate a PR if you can help.

@Pl1997
Copy link

Pl1997 commented Feb 6, 2024

Hello ! Unfortunately I don't have any either, I really don't have the skills to submit a PR.... So sorry !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

8 participants