ConfusedVorlon
3cc302bc83
PurchaseTester: PaywallView should respond to changes on the UserView model (#2297 )
...
I hit this bug when I first tried the example. My offerings loaded
slowly - so the paywall was empty, and didn't update when the offerings
were retrieved.
### Description
App stores current state in the shared `UserViewModel`, but the
`PaywallView` doesn't currently observe changes on this model - so it only
shows the state at the point where the view was shown.
This is potentially a state where offerings have not yet been retrieved.
2023-02-19 18:43:09 -08:00
NachoSoto
8806f9df4b
MagicWeatherSwiftUI: updated to use async APIs (#1843 )
2022-08-17 10:28:24 -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
NachoSoto
ea6d662c03
[skip ci] MagicWeatherSwiftUI: updated to use async API ( #1620 )
2022-05-26 13:57:25 -07:00
NachoSoto
b15255a433
[skip ci] MagicWeather: updated initialization to use new Configuration.Builder ( #1619 )
2022-05-26 13:20:05 -07:00
NachoSoto
59d4ef8500
MagicWeatherSwiftUI: fixed usage of PurchaseDelegate (#1601 )
...
This was changed in #1460 . Additionally, without #1600 this wasn't producing the correct rename, it wasn't finding `DeferredPromotionalPurchaseBlock` anywhere.
2022-05-24 10:09:36 -07:00
NachoSoto
48cb268f17
MagicWeatherSwiftUI: implemented purchases(:shouldPurchasePromoProduct:defermentBlock:) (#1459 )
...
Also added example link from https://stackoverflow.com/a/68386112/401024
2022-04-06 13:19:12 -07:00
NachoSoto
81c1398f14
[skip-ci] MagicWeatherSwiftUI: removed reference to SubscriptionPeriod.Unit.unknown ( #1319 )
...
Was removed in #1235 .
2022-02-19 10:16:46 -07:00
NachoSoto
d5ee1543c6
[skip-ci] MagicWeatherSwiftUI: removed redundant Package: Identifiable conformance ( #1318 )
...
Already exposed by #1268 .
2022-02-19 10:16:37 -07:00
NachoSoto
86dea871ac
Re-enabled SK2 ( #1213 )
...
Fixes [sc-9602]
2022-01-31 11:22:12 -08:00
NachoSoto
774cc0dee9
MagicWeatherSwiftUI: display error when purchase fails (#1218 )
...
Very simple and crude UI, but it's something. Currently the error was only logged to the console.
2022-01-25 15:38:32 -08:00
aboedo
1cde8c29b0
updated API calls in MagicWeatherSwiftUI ( #1192 )
2022-01-19 17:38:47 -03:00
NachoSoto
f0b6ba6402
MagicWeatherSwiftUI improvements (#1115 )
2021-12-29 09:37:04 -08:00
NachoSoto
eb2ea68ad8
WeatherSwiftUI: use contentShape to allow tapping on the whole cell ( #1082 )
...
Without this, it seems like tapping on the `PackageCellView` sometimes doesn't do anything.
2021-12-15 15:43:18 -08:00
NachoSoto
b1a3160537
MagicWeatherSwiftUI: use StoreKit 2 ( #1074 )
...
This is a test app, so I think it makes sense to have it use the latest APIs.
2021-12-14 09:55:45 -08:00
NachoSoto
e4e49a9bd6
MagicWeatherSwiftUI: fixes for new V4 StoreProduct API ( #1072 )
2021-12-13 13:21:43 -08:00
NachoSoto
a471353116
Using @unknown default to ensure we handle future cases ( #963 )
...
I like to take some credit in this https://twitter.com/NachoSoto/status/943880484978769921?s=20
2021-11-18 09:58:17 -08:00
NachoSoto
3ed96da7bf
Updated all uses of "Note" in docs to enhanced format ( #966 )
2021-11-18 08:24:10 -08:00
Joshua Liebowitz
271fd11412
Update examples for api updates ( #918 )
...
Add deprecations for renamed purchase methods so Xcode can suggest the rename.
Update purchase methods for named completion block instead of _
2021-10-22 15:59:13 -07:00
aboedo
e4cf7261ec
Update imports ( #815 )
...
* import Purchases -> import RevenueCat
* updated Pod name to Purchases
* updated more Pod names
2021-09-03 14:17:37 -03:00
Cody Kerns
1047ae67f2
comment formatting
2021-02-05 10:30:28 -05:00
Cody Kerns
b3285d2b77
Uses UserViewModel property for entitlement check.
...
Clarifies how PurchaserInfo is fetched/cached.
2021-02-04 09:54:38 -05:00
Cody Kerns
327f2ccd55
adds unit to temperature
2021-01-29 15:40:19 -05:00
Cody Kerns
9cbe7e239c
removes macOS files, makes headers consistent
2021-01-29 14:42:07 -05:00
Cody Kerns
d9fa392f39
Initial Magic Weather SwiftUI commit
2021-01-29 14:36:54 -05:00