File tree Expand file tree Collapse file tree
packages/react-native-legal
android/src/main/java/com/reactnativelegal Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,7 +47,13 @@ object ReactNativeLegalModuleImpl {
4747 " version" to library.artifactVersion,
4848 " description" to library.description,
4949 " website" to library.website,
50- " developers" to library.developers.joinToString(),
50+ " developers" to
51+ library.developers.map { developer ->
52+ bundleOf(
53+ " name" to developer.name,
54+ " organisationUrl" to developer.organisationUrl,
55+ )
56+ },
5157 " organization" to library.organization?.name,
5258 " licenses" to
5359 library.licenses.map { license ->
Original file line number Diff line number Diff line change 11import type { TurboModule } from 'react-native' ;
22import { TurboModuleRegistry } from 'react-native' ;
33
4+ export interface Developer {
5+ name ?: string ;
6+ organisationUrl ?: string ;
7+ }
8+
49export interface License {
510 licenseContent : string ;
611 /**
@@ -29,7 +34,7 @@ export interface Library {
2934 /**
3035 * @platform Android
3136 */
32- developers ?: string ;
37+ developers ?: Developer [ ] ;
3338 /**
3439 * @platform Android
3540 */
You can’t perform that action at this time.
0 commit comments