PWCoreBeta 4.0.0.43

PWCoreBeta 4.0.0.43

测试已测试
语言语言 Obj-CObjective C
许可证 未知
发布最后发布2020年8月

Jenkins PhunwareMatt HendricksonAaron PendleySeshu 维护。



 
依赖项
AFNetworking/NSURLSession>= 0
AFNetworking/Security>= 0
AFNetworking/Serialization>= 0
AFNetworking/Reachability>= 0
SSZipArchive>= 0
TMCache>= 0
 

PWCoreBeta 4.0.0.43

  • Phunware

Phunware SDKs for iOS (Beta)

版本 1.1.6.1

使用一行代码集成 Phunware Beta SDKs for iOS,或指定您想要的任何 SDK 集成。

需求

  • iOS 9.0 或更高版本
  • Xcode 8 或更高版本

安装

我们推荐使用 CocoaPods,并在您的 Podfile 中添加以下内容。

pod 'Phunware/Beta'  # Pull in all SDKs

如果您不想使用所有的 SDK,有多个 subspec,可以选择性地安装 SDK 的子集

# Only pull in PWCore SDK
pod 'Phunware/Beta/Core'

# Only pull in PWLocation SDK, the `PWCore` is automatically pulled in as a dependency
pod 'Phunware/Beta/Location'

# Only pull in PWMapKit SDK, the `PWCore` and `PWLocation` are automatically pulled in as dependencies
pod 'Phunware/Beta/MapKit'

# Only pull in PWMessaging SDK, the `PWCore` is automatically pulled in as a dependency
pod 'Phunware/Beta/Messaging'

# Only pull in PWAds SDK, the `PWCore` is automatically pulled in as a dependency
pod 'Phunware/Beta/Ads'

PWCore

文档

http://phunware.github.io/maas-core-ios-sdk

设置

首先使用

Objective-C

#import <PWCore/PWCore.h>

Swift

import PWCore

然后在 application:didFinishLaunchingWithOptions: 方法中初始化

Objective-C

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
 	// These values can be found for your application in the MaaS portal (http://maas.phunware.com/clients).
	[PWCore setApplicationID:<#(NSString *)#> accessKey:<#(NSString *)#> signatureKey:<#(NSString *)#> encryptionKey:@""];
	...
}

Swift

func application(_ application: UIApplication, >didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
	// These values can be found for your application in the MaaS portal (http://maas.phunware.com/clients).
	PWCore.setApplicationID(<#applicationID: String!#>, accessKey: <#String!#>, signatureKey: <#String!#>, encryptionKey: "")
	...
}

PWLocation

文档

http://phunware.github.io/maas-location-ios-sdk

设置

首先确保 PWCore 设置正确。

然后,待定

PWMapKit

文档

http://phunware.github.io/maas-location-ios-sdk

设置

首先确保 PWCore 设置正确。

然后,待定

PWMessaging

文档

http://phunware.github.io/maas-messaging-ios-sdk

设置

首先确保 PWCore 设置正确。

然后,待定

PWAds

文档

http://phunware.github.io/maas-ads-ios-sdk

设置

首先确保 PWCore 设置正确。

然后,待定

隐私

您了解并同意Phunware的隐私政策,该政策位于www.phunware.com/privacy。如果使用Phunware的软件需要您自己的隐私政策,您也同意将其包含在您的隐私政策中供最终用户。