-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Example - PurchaseTester TypeScript #320
Merged
Merged
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
b5165d3
Initial commit of purchaseTester typescript example
7d74043
Made things a little prettier for offering detail
joshdholtz 64df393
Removed console log
joshdholtz bfbf128
Typescript example using local RNPurchases pod
joshdholtz e29289a
Fix some things were states weren't updating
joshdholtz 2d8685e
Trying to fix CircleCI
joshdholtz c3a1f54
This is it
joshdholtz cc86f42
name isn't a thing for the RN builds
joshdholtz e88abde
name also isn't a thing for iOS RN builds
joshdholtz b69a88a
Add set attributes which isnt really working yet
joshdholtz 4e052af
Fix broken test
joshdholtz 2239b1d
Fix broken test... again
joshdholtz 42ef1b7
Ignore package-lock.json, try using rn/yarn_install on circleci, move…
joshdholtz 1cd69fc
Trying to get yarn_install to run in the example directory
joshdholtz 60735a0
Change yarn cache folder
joshdholtz f238ce8
Try bringing in the yarn install from the orb for testing
joshdholtz 9f7b4d9
Try yarn cwd before calling rn/yarn_install
joshdholtz 84226f7
That didn't work
joshdholtz f2505ba
This should fix android
joshdholtz 13c11ad
This should fix macos symlink issue
joshdholtz 2ac8df6
Reset cache to see if fix worked
joshdholtz ccd9151
Lets start over on circleci
joshdholtz 23919bb
Add path for yarn pod
joshdholtz 0549cf0
Experimenting
joshdholtz 6264551
This should do it
joshdholtz 92a68bf
--cwd doesnt work with yarn pods
joshdholtz e656e8d
Need to warn install both examples
joshdholtz 4ad51cc
Try with rn/yarn_install but copied over with path param
joshdholtz 03b5b48
Forgot to replace cache path
joshdholtz 55e8ee2
Cleanup because things works :)
joshdholtz fb32dab
Need to put path to ios directory
joshdholtz d45adc2
Use conditional logic and use --cwd if not empty string
joshdholtz f9b5e97
Rename to use standard revenuecat tester package and bundle id
joshdholtz 74810a5
Bump to react-native-community/[email protected]
joshdholtz 422a4f2
Rename isSetup to hasKeys
joshdholtz 8843578
Setup local testing for PurchaseTester Typescript (#326)
joshdholtz 01e36e9
Rename storekit config file and add second target that does not use s…
joshdholtz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
rootProject.name = 'PurchaseTester' | ||
|
||
include ':react-native-purchases' | ||
project(':react-native-purchases').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-purchases/android') | ||
project(':react-native-purchases').projectDir = new File(rootProject.projectDir, '../../../android') | ||
|
||
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings) | ||
include ':app' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module.exports = { | ||
dependencies: { | ||
// This is used for auto linking because `react-native link <dep>` will | ||
// soon be deprecated | ||
// This is essentiallly an auto linking definition for local dependencies | ||
'react-native-purchases': { | ||
root: require('path').resolve("../../../") | ||
}, | ||
}, | ||
}; |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you mind updating our notion docs here once this is merged?