Skip to content

Commit

Permalink
Merge pull request #32 from mendix/encryptionkey-constant
Browse files Browse the repository at this point in the history
 #810110: Mention that Encryption.EncryptionKey needs a value
  • Loading branch information
reinouts authored Jun 16, 2016
2 parents 72793f2 + f957472 commit 539b943
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,11 @@ Add the `PushNotifications_Administration` page to the project navigation. This
At this point you can deploy your application to the Mendix cloud. If you are using a Free App, simply click the `Run` button.

> You should make sure that the `Encryption.EncryptionKey` constant has a value before you start the application. If the value is not set, you will get a NullPointerException when you try to send a notification to APNs.
>
> If you are using a Free App, you should set a default value for the constant in the model. Otherwise, you can configure the constant value in the Mendix Cloud Portal.

### Step 9 - Set up access to APNs and GCM

Set up access to APNs and GCM and configure them in your application. Note that starting with GCM is recommended because it is significantly less complicated than setting up APNs.
Expand Down

0 comments on commit 539b943

Please sign in to comment.