Skip to content

Commit

Permalink
docs(example): note on keeping code fresh in eample, example start/po…
Browse files Browse the repository at this point in the history
…d install

this improves the developer experience, all things noted or needed while
I was working with the example to update the android SDK
  • Loading branch information
mikehardy committed Nov 9, 2021
1 parent 0caa86a commit b3b5726
Show file tree
Hide file tree
Showing 4 changed files with 851 additions and 757 deletions.
2 changes: 2 additions & 0 deletions RNFBSDKExample/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ This example is extremely basic but hopefully still useful.

You run it by cloning the main repo, and running `yarn` then `yarn example:android` or `yarn example:ios`

Note: If you hae run it before, and are trying to update it `rm yarn.lock node_modules ios/Podfile.lock && yarn && cd ios && pod install` in order to make sure you have fresh code, or if you are developing run `yarn example:copy` from the parent direcotry. Why? The example references the module code via a `../` reference, and the and it may contain stale files unless you clear the lockfiles/modules and reinstall.

The example currently validates these things:

## Successful project integration
Expand Down
70 changes: 41 additions & 29 deletions RNFBSDKExample/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ PODS:
- boost-for-react-native (1.63.0)
- CocoaAsyncSocket (7.6.5)
- DoubleConversion (1.1.6)
- FBAEMKit (11.2.1):
- FBAEMKit/AEM (= 11.2.1)
- FBAEMKit/AEM (11.2.1):
- FBSDKCoreKit_Basics (~> 11.2.1)
- FBLazyVector (0.64.2)
- FBReactNativeSpec (0.64.2):
- RCT-Folly (= 2020.01.13.00)
Expand All @@ -10,20 +14,24 @@ PODS:
- React-Core (= 0.64.2)
- React-jsi (= 0.64.2)
- ReactCommon/turbomodule/core (= 0.64.2)
- FBSDKCoreKit (9.3.0):
- FBSDKCoreKit/Basics (= 9.3.0)
- FBSDKCoreKit/Core (= 9.3.0)
- FBSDKCoreKit/Basics (9.3.0)
- FBSDKCoreKit/Core (9.3.0):
- FBSDKCoreKit/Basics
- FBSDKLoginKit (9.3.0):
- FBSDKLoginKit/Login (= 9.3.0)
- FBSDKLoginKit/Login (9.3.0):
- FBSDKCoreKit (~> 9.3.0)
- FBSDKShareKit (9.3.0):
- FBSDKShareKit/Share (= 9.3.0)
- FBSDKShareKit/Share (9.3.0):
- FBSDKCoreKit (~> 9.3.0)
- FBSDKCoreKit (11.2.1):
- FBSDKCoreKit/Core (= 11.2.1)
- FBSDKCoreKit/Core (11.2.1):
- FBAEMKit (~> 11.2.1)
- FBSDKCoreKit_Basics (~> 11.2.1)
- FBSDKCoreKit_Basics (11.2.1):
- FBSDKCoreKit_Basics/Basics (= 11.2.1)
- FBSDKCoreKit_Basics/Basics (11.2.1)
- FBSDKLoginKit (11.2.1):
- FBSDKLoginKit/Login (= 11.2.1)
- FBSDKLoginKit/Login (11.2.1):
- FBSDKCoreKit (~> 11.2.1)
- FBSDKCoreKit_Basics (~> 11.2.1)
- FBSDKShareKit (11.2.1):
- FBSDKShareKit/Share (= 11.2.1)
- FBSDKShareKit/Share (11.2.1):
- FBSDKCoreKit (~> 11.2.1)
- FBSDKCoreKit_Basics (~> 11.2.1)
- Flipper (0.75.1):
- Flipper-Folly (~> 2.5)
- Flipper-RSocket (~> 1.3)
Expand Down Expand Up @@ -266,19 +274,19 @@ PODS:
- React-jsi (= 0.64.2)
- React-perflogger (= 0.64.2)
- React-jsinspector (0.64.2)
- react-native-fbsdk-next (4.3.0):
- react-native-fbsdk-next (4.6.0):
- React-Core
- react-native-fbsdk-next/Core (= 4.3.0)
- react-native-fbsdk-next/Login (= 4.3.0)
- react-native-fbsdk-next/Share (= 4.3.0)
- react-native-fbsdk-next/Core (4.3.0):
- FBSDKCoreKit (~> 9.3)
- react-native-fbsdk-next/Core (= 4.6.0)
- react-native-fbsdk-next/Login (= 4.6.0)
- react-native-fbsdk-next/Share (= 4.6.0)
- react-native-fbsdk-next/Core (4.6.0):
- FBSDKCoreKit (~> 11.2.1)
- React-Core
- react-native-fbsdk-next/Login (4.3.0):
- FBSDKLoginKit (~> 9.3)
- react-native-fbsdk-next/Login (4.6.0):
- FBSDKLoginKit (~> 11.2.1)
- React-Core
- react-native-fbsdk-next/Share (4.3.0):
- FBSDKShareKit (~> 9.3)
- react-native-fbsdk-next/Share (4.6.0):
- FBSDKShareKit (~> 11.2.1)
- React-Core
- React-perflogger (0.64.2)
- React-RCTActionSheet (0.64.2):
Expand Down Expand Up @@ -404,7 +412,9 @@ SPEC REPOS:
trunk:
- boost-for-react-native
- CocoaAsyncSocket
- FBAEMKit
- FBSDKCoreKit
- FBSDKCoreKit_Basics
- FBSDKLoginKit
- FBSDKShareKit
- Flipper
Expand Down Expand Up @@ -482,11 +492,13 @@ SPEC CHECKSUMS:
boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
DoubleConversion: cf9b38bf0b2d048436d9a82ad2abe1404f11e7de
FBAEMKit: 5de0a7aaa854eec69bb5be20795952a63d38a5f6
FBLazyVector: e686045572151edef46010a6f819ade377dfeb4b
FBReactNativeSpec: c31ead32a5126505df94642a73753ff8b249590a
FBSDKCoreKit: 0d1ae58388a458b8222f72025804cdc84eb5d0c3
FBSDKLoginKit: aea68df6121c5e165ccae2fabfdc83c4644ee40f
FBSDKShareKit: 70889c97c62f0c6b3ccb8b999e73a85f19024001
FBSDKCoreKit: bf655f808b040ed66a72b9922911b39d703e64f4
FBSDKCoreKit_Basics: 73ebe3a27eb688ac5b5aa7e99f68992993042115
FBSDKLoginKit: 2e76831ef08d356b8f9150ea51cce865074ea304
FBSDKShareKit: 1c8c3000880382ae005fe4a4e7eae9932db1a837
Flipper: d3da1aa199aad94455ae725e9f3aa43f3ec17021
Flipper-DoubleConversion: 38631e41ef4f9b12861c67d17cb5518d06badc41
Flipper-Folly: 755929a4f851b2fb2c347d533a23f191b008554c
Expand All @@ -508,7 +520,7 @@ SPEC CHECKSUMS:
React-jsi: 67747b9722f6dab2ffe15b011bcf6b3f2c3f1427
React-jsiexecutor: 80c46bd381fd06e418e0d4f53672dc1d1945c4c3
React-jsinspector: cc614ec18a9ca96fd275100c16d74d62ee11f0ae
react-native-fbsdk-next: 19e974b071047b7ed1dad86a9dc3fe77dff76b8c
react-native-fbsdk-next: b1572d5e2b9f6d9d362e0ed3fbb444a714db405b
React-perflogger: 25373e382fed75ce768a443822f07098a15ab737
React-RCTActionSheet: af7796ba49ffe4ca92e7277a5d992d37203f7da5
React-RCTAnimation: 6a2e76ab50c6f25b428d81b76a5a45351c4d77aa
Expand All @@ -526,4 +538,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: c6dab42a30bdb6bf6366cca5800fc9459f3ae4b4

COCOAPODS: 1.10.1
COCOAPODS: 1.11.2
Loading

0 comments on commit b3b5726

Please sign in to comment.