CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.

ApsEnvironment 1.0.2

ApsEnvironment 1.0.2

Maintained by Linus Unnebäck.



  • By
  • Linus Unnebäck

ApsEnvironment

Get the current environment for push notifications.

Installation

Install using Swift Package Manager:

dependencies: [
    .package(url: "https://github.com/doneservices/ApsEnvironment", from: "1.0.0"),
]

or using Cocoapods:

pod 'ApsEnvironment', '~> 1.0'

API

ApsEnvironment.get() -> String?

Returns the current environment for push notifications as reported by the aps-environment key in the apps entitlements.

If the current environment cannot be determined, nil is returned.