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

[Accepted] SDL 0226 - Add iOS SDLManager RPC Subscriptions #714

Closed
theresalech opened this issue Apr 24, 2019 · 4 comments
Closed

[Accepted] SDL 0226 - Add iOS SDLManager RPC Subscriptions #714

theresalech opened this issue Apr 24, 2019 · 4 comments

Comments

@theresalech
Copy link
Contributor

Hello SDL community,

The review of "SDL 0226 - Add iOS SDLManager RPC Subscriptions" begins now and runs through May 7, 2019. The proposal is available here:

https://github.com/smartdevicelink/sdl_evolution/blob/master/proposals/0226-ios-manager-rpc-subscriptions.md

Reviews are an important part of the SDL evolution process. All reviews should be sent to the associated Github issue at:

#714

What goes into a review?

The goal of the review process is to improve the proposal under review through constructive criticism and, eventually, determine the direction of SDL. When writing your review, here are some questions you might want to answer in your review:

  • Is the problem being addressed significant enough to warrant a change to SDL?
  • Does this proposal fit well with the feel and direction of SDL?
  • If you have used competitors with a similar feature, how do you feel that this proposal compares to those?
  • How much effort did you put into your review? A glance, a quick reading, or an in-depth study?
    Please state explicitly whether you believe that the proposal should be accepted into SDL.

More information about the SDL evolution process is available at

https://github.com/smartdevicelink/sdl_evolution/blob/master/process.md

Thank you,
Theresa Lech

Program Manager - Livio
theresa@livio.io

@joeygrover
Copy link
Member

joeygrover commented Apr 30, 2019

The only issue I have with this proposal is Android the Java Suite currently has separate listeners for each type of RPC with specific interfaces. I would like to see the two platforms align in the API either way.

@joeljfischer
Copy link
Contributor

I understand the concern. I originally had it mimicking the Java Suite listener more closely. However, the reason I chose to go in a different direction was:

The iOS library currently has a way to subscribe to RPC callbacks through the iOS NotificationCenter API and all of the notification names are already public APIs. As a result, I didn't want to create a second, entirely separate way to do it through the SDLManager. Instead, I decided to keep using the existing public API and simply expose an API that uses the NotificationCenter API under the hood. This keeps the iOS implementation consistent with the existing API (and only a slight departure from Java's).

Alternatively, we could deprecate all of the existing iOS RPC callback strings and re-do it to be closer to the Android API (by passing the RPC name and type).

@theresalech theresalech changed the title [In Review] SDL 0226 - Add iOS SDLManager RPC Subscriptions [Accepted] SDL 0226 - Add iOS SDLManager RPC Subscriptions May 8, 2019
@theresalech
Copy link
Contributor Author

The Steering Committee fully agreed to accept this proposal. It was noted that it's important that the implementation of this feature aligns as best as possible with the Java Suite library.

@smartdevicelink smartdevicelink locked and limited conversation to collaborators May 8, 2019
@theresalech
Copy link
Contributor Author

Issue Entered: smartdevicelink/sdl_ios#1257

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants