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

feat(Portable): Migrate NetInfo module #771

Merged
merged 5 commits into from
Oct 13, 2016

Conversation

kevinvangelder
Copy link
Contributor

@kevinvangelder kevinvangelder commented Oct 12, 2016

@@ -326,7 +326,7 @@ public void HandleException(Exception exception)
/// <remarks>
/// This method should be called exactly once.
/// </remarks>
internal void InitializeWithInstance(IReactInstance instance)
public void InitializeWithInstance(IReactInstance instance)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

public [](start = 8, length = 6)

I don't know why this was internal in the first place, but maybe just keep it internal. There's a very old GH issue to revisit the public API surface: #22

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can add an InternalsVisibleTo attribute to the AssemblyInfo.cs file for ReactNative.Net46 for the time being.


In reply to: 83104991 [](ancestors = 83104991)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're using this in the tests and without it being public VS complains. Not sure what black magic occurs in the UWP tests that allows it to get around this requirement but on that side it doesn't seem to care.

@rozele rozele merged commit 4cca098 into microsoft:master Oct 13, 2016
@kevinvangelder kevinvangelder deleted the shared-project-netinfo branch October 13, 2016 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants