Skip to content

Commit f51839e

Browse files
committed
Update README.md
1 parent 76fcf05 commit f51839e

File tree

2 files changed

+16
-14
lines changed

2 files changed

+16
-14
lines changed

LICENSE.md

+2
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
Make sure you [generate an API key](https://www.pixelsdk.com/dashboard/api-keys/) before releasing your app. The following [pricing options](https://www.pixelsdk.com/#pricing) are available for your API key.
2+
3+
Without an API key, image and video exports will include a watermark.

README.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -105,19 +105,6 @@ $ pod install
105105

106106
### Setup
107107

108-
[Generate an API key](https://www.pixelsdk.com/dashboard/api-keys/) and specify it in your `application(_, didFinishLaunchingWithOptions:)` of your App Delegate. The following [pricing options](https://www.pixelsdk.com/#pricing) are available for your API key. Keep your API key private.
109-
110-
```swift
111-
import PixelSDK
112-
113-
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
114-
115-
PixelSDK.setup("YOUR API KEY")
116-
117-
return true
118-
}
119-
```
120-
121108
Include the following lines in your application `Info.plist`:
122109

123110
```xml
@@ -155,6 +142,19 @@ extension ViewController: EditControllerDelegate {
155142
}
156143
```
157144

145+
[Generate an API key](https://www.pixelsdk.com/dashboard/api-keys/) and specify it in your `application(_, didFinishLaunchingWithOptions:)` of your App Delegate. <span style="display: none;">The following [pricing options](https://www.pixelsdk.com/#pricing) are available for your API key.</span> Without an API key, image and video exports will include a watermark. Keep your API key private.
146+
147+
```swift
148+
import PixelSDK
149+
150+
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
151+
152+
PixelSDK.setup("YOUR API KEY")
153+
154+
return true
155+
}
156+
```
157+
158158
Optionally, specify a maximum video duration. The default maximum video duration is 80 seconds.
159159

160160
```swift
@@ -654,4 +654,4 @@ The [Xcode sample project](https://github.com/GottaYotta/PixelSDK/archive/master
654654

655655
## License
656656

657-
Make sure you [generate an API key](https://www.pixelsdk.com/dashboard/api-keys/) before releasing your app. The following [pricing options](https://www.pixelsdk.com/#pricing) are available for your API key.
657+
Make sure you [generate an API key](https://www.pixelsdk.com/dashboard/api-keys/) before releasing your app. The following [pricing options](https://www.pixelsdk.com/#pricing) are available for your API key. Without an API key, image and video exports will include a watermark.

0 commit comments

Comments
 (0)