Commit Graph
13 Commits
Author SHA1 Message Date
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 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 e4e49a9bd6 MagicWeatherSwiftUI: fixes for new V4 StoreProduct API (#1072) 2021-12-13 13:21:43 -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 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