Skip to content

react native link question #12852

Description

@huangminlinux

react-native version
react-native-cli: 0.2.0
react-native: 0.41.2

after rnpm 1.9.0 version https://github.com/rnpm/rnpm/releases/tag/v1.9.0

So when I public my lib, I can add lib in sharedLibraries, just like that

  	"rnpm": {
    	"ios": {
      	"sharedLibraries": [
        	"libz",
        	"UserNotifications",
        	"CoreTelephony",
        	"Security",
        	"CFNetwork",
        	"CoreFoundation",
        	"SystemConfiguration",
        	"Foundation",
        	"UIKit",
        	"libresolv",
        	"CoreGraphics"
      	]
    	}
  	}

the problem was that the UserNotification.framework only available in iOS 10, so it could not be required, this framework status should be set to optional
73b5462e-33e9-41a2-aa8c-b7ae94188b27

Are there any configuration item to set this framework to optional after react-native link?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions