From 051e0bf784207642bb9de0e5ecb44b12a682dc97 Mon Sep 17 00:00:00 2001 From: Eric Shelley Date: Tue, 6 Aug 2019 17:10:48 -0600 Subject: [PATCH] Fixes #551: Pod install failure (#515) * Adding new `podname` attribute to package.json. Current package.json name is not a valid name for a pod. * Adding missing homepage attribute to package.json --- packages/okta-react-native/OktaSdkBridgeReactNative.podspec | 2 +- packages/okta-react-native/package.json | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/okta-react-native/OktaSdkBridgeReactNative.podspec b/packages/okta-react-native/OktaSdkBridgeReactNative.podspec index 05d431758..4d6d1d37b 100644 --- a/packages/okta-react-native/OktaSdkBridgeReactNative.podspec +++ b/packages/okta-react-native/OktaSdkBridgeReactNative.podspec @@ -3,7 +3,7 @@ require "json" package = JSON.parse(File.read(File.join(__dir__, "package.json"))) Pod::Spec.new do |s| - s.name = package['name'] + s.name = package['podname'] s.version = package['version'] s.summary = package['description'] s.license = package['license'] diff --git a/packages/okta-react-native/package.json b/packages/okta-react-native/package.json index 590be4c7e..ae7da578b 100644 --- a/packages/okta-react-native/package.json +++ b/packages/okta-react-native/package.json @@ -4,6 +4,8 @@ "version": "1.0.1", "description": "Okta OIDC for React Native", "main": "index.js", + "podname": "OktaSdkBridgeReactNative", + "homepage": "https://github.com/okta/okta-oidc-js/tree/master/packages/okta-react-native", "scripts": { "test": "node_modules/.bin/jest", "test:debug": "node --inspect-brk node_modules/jest/bin/jest.js --runInBand"