Skip to content

Commit 4df6934

Browse files
hermanliangrogerhu
authored andcommitted
Parse.java & Parse.Configuration API reference update (#606)
1 parent c80c11d commit 4df6934

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

api/com/parse/Parse.Configuration.Builder.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,14 +210,17 @@ <h4>Parse.Configuration.Builder</h4>
210210
initialization.
211211

212212
<p/>
213-
You may define <code>com.parse.APPLICATION_ID</code> and <code>com.parse.CLIENT_KEY</code>
213+
You may define <code>com.parse.SERVER_URL</code>, <code>com.parse.APPLICATION_ID</code> and (optional) <code>com.parse.CLIENT_KEY</code>
214214
<code>meta-data</code> in your <code>AndroidManifest.xml</code>:
215215
<pre>
216216
&lt;manifest ...&gt;
217217

218218
...
219219

220220
&lt;application ...&gt;
221+
&lt;meta-data
222+
android:name="com.parse.SERVER_URL"
223+
android:value="@string/parse_server_url" /&gt;
221224
&lt;meta-data
222225
android:name="com.parse.APPLICATION_ID"
223226
android:value="@string/parse_app_id" /&gt;
@@ -232,7 +235,7 @@ <h4>Parse.Configuration.Builder</h4>
232235
</pre>
233236
<p/>
234237

235-
This will cause the values for <code>applicationId</code> and <code>clientKey</code> to be set to
238+
This will cause the values for <code>server</code>, <code>applicationId</code> and <code>clientKey</code> to be set to
236239
those defined in your manifest.</div>
237240
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>context</code> - The active <a href="http://d.android.com/reference/android/content/Context.html?is-external=true" title="class or interface in android.content"><code>Context</code></a> for your application. Cannot be null.</dd></dl>
238241
</li>

api/com/parse/Parse.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,14 +346,17 @@ <h4>initialize</h4>
346346
<pre>public static&nbsp;void&nbsp;initialize(<a href="http://d.android.com/reference/android/content/Context.html?is-external=true" title="class or interface in android.content">Context</a>&nbsp;context)</pre>
347347
<div class="block">Authenticates this client as belonging to your application.
348348
<p/>
349-
You must define <code>com.parse.APPLICATION_ID</code> and <code>com.parse.CLIENT_KEY</code>
349+
You may define <code>com.parse.SERVER_URL</code>, <code>com.parse.APPLICATION_ID</code> and (optional) <code>com.parse.CLIENT_KEY</code>
350350
<code>meta-data</code> in your <code>AndroidManifest.xml</code>:
351351
<pre>
352352
&lt;manifest ...&gt;
353353

354354
...
355355

356356
&lt;application ...&gt;
357+
&lt;meta-data
358+
android:name="com.parse.SERVER_URL"
359+
android:value="@string/parse_server_url" /&gt;
357360
&lt;meta-data
358361
android:name="com.parse.APPLICATION_ID"
359362
android:value="@string/parse_app_id" /&gt;

0 commit comments

Comments
 (0)