Skip to content

react native link question #12852

Closed
Closed
@huangminlinux

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?

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