Commit Graph
5 Commits
Author SHA1 Message Date
NachoSoto 432b704dc7 Purchase Tester: added companion watchOS app (#2140)
I added this in order to debug #2132.

### Changes:
- Extracted `Core` framework to be used by both apps
- Added new `watchOS` target
- Changed `fastlane match` to also create profiles for this new target
- Added a simple view in the watch app that displays a text if an
entitlement is active, or a `restore` purchases button otherwise

This is just a starting point, we can add more to it in the future.

#### Note:
_Unfortunately I haven't been able to test this because of an Apple bug
(`FB11873951`):_


![incoming-722CC7FA-D970-4E23-AB88-50167248D98D](https://user-images.githubusercontent.com/685609/207672762-23abe3e7-6052-4b16-bdf2-7b1e502ffd81.PNG)
2022-12-21 07:31:58 -08:00
NachoSoto 849efdaa5b pre-commit hook: also verify leftover API keys in PurchaseTester (#1914)
See #1756.
2022-09-21 09:35:11 -07:00
NachoSoto 6d37c766b6 SwiftLint: fixed deprecation warning (#1809)
I noticed this new warning in the `pre-commit` hook:
> warning: The --path option is deprecated. Pass the path(s) to lint last to the swiftlint command.

This fixes that.
2022-08-09 13:43:03 -07:00
NachoSoto ee2a56165f Added pre-commit hook to ensure API keys aren't committed (#1756)
Fixes [CSDK-273].
2022-07-25 11:56:59 -07:00
Joshua Liebowitz 06eb4419ae Add setup_dev fastlane lane (#528)
* Add setup_dev fastlane lane

Add fastlane lane for dev setup
Update documentation
Add pre-commit hook script and link it during dev setup
Add SwiftLint to new build phase step in project so people can see issues before commit.

* test

* Fail the pre-commit with friendly message if swiftlint fails

* remove comma from message
2021-06-15 10:27:46 -07:00