TianganDizhi

Privacy Policy — TianganDizhi

Last updated: November 4, 2026

TianganDizhi is built by Xiangyu Sun (sole developer). This policy explains what data the app handles and how.


What TianganDizhi does with your data

Location

When you grant location permission, TianganDizhi uses your approximate location (accurate to about 3 km) to fetch local weather and sunrise, sunset, moonrise and moonset times via Apple WeatherKit, for the app and its widgets. So that widgets can show this without asking again, the last approximate location and the latest forecast are kept on your device, in storage shared only with the app's own widgets. They are never sent to any server operated by the developer. You can deny location permission at any time; the app will fall back to approximate times.

Weather

Weather and astronomical data is fetched from Apple WeatherKit using Apple's framework. The developer has no access to your location or weather query data.

Bazi (Four Pillars) calculator

The birth date, time and gender you enter in the Bazi calculator are used for the calculation on your device only. They are not saved, and they are never sent anywhere, including to analytics.

Custom festivals

Festivals you add yourself are stored on your device, in storage shared only with the app's widgets.

Purchases

TianganDizhi has no in-app purchases or subscriptions.

Anonymous usage analytics (iOS only)

Since September 2026, the iOS app uses Google Analytics for Firebase to understand which features and widgets are used, so development effort goes where it helps most. It collects:

This data is not linked to your identity and is not used for tracking or advertising. It is processed by Google as a service provider under the Google Analytics for Firebase terms and retained for at most 14 months.

You can turn it off at any time: Settings (設定) → Privacy (隱私) → "Allow anonymous usage statistics" (允許匿名使用統計). When off, nothing is sent.

The Mac and Apple Watch apps, and all widget extensions, contain no analytics.

Widgets & App Extensions

Widget extensions (iOS, macOS, watchOS) read shared UserDefaults via app groups to display your current settings. No data leaves the device through widgets.


What TianganDizhi does NOT do


Data summary

Data Where stored Sent to developer?
Approximate location (if granted) On your device, for the app and its widgets No
Weather / astronomical data Fetched from Apple WeatherKit No
Birth date entered in the Bazi calculator Not stored (used for the calculation only) No
Custom festivals On your device No
App preferences & settings UserDefaults (local, shared via app group) No
Anonymous usage events (iOS, can be turned off) Google Analytics for Firebase Yes, as aggregated, anonymous statistics

中文摘要


Children

TianganDizhi does not knowingly collect data from anyone, including children.


Changes to this policy

If this policy changes materially, the "Last updated" date above will be updated. The latest version is always at this URL.


Contact

Questions about this policy: