Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse.java & Parse.Configuration API reference update #606

Merged
merged 1 commit into from
Mar 17, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions api/com/parse/Parse.Configuration.Builder.html
Original file line number Diff line number Diff line change
Expand Up @@ -210,14 +210,17 @@ <h4>Parse.Configuration.Builder</h4>
initialization.

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

...

&lt;application ...&gt;
&lt;meta-data
android:name="com.parse.SERVER_URL"
android:value="@string/parse_server_url" /&gt;
&lt;meta-data
android:name="com.parse.APPLICATION_ID"
android:value="@string/parse_app_id" /&gt;
Expand All @@ -232,7 +235,7 @@ <h4>Parse.Configuration.Builder</h4>
</pre>
<p/>

This will cause the values for <code>applicationId</code> and <code>clientKey</code> to be set to
This will cause the values for <code>server</code>, <code>applicationId</code> and <code>clientKey</code> to be set to
those defined in your manifest.</div>
<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>
</li>
Expand Down
5 changes: 4 additions & 1 deletion api/com/parse/Parse.html
Original file line number Diff line number Diff line change
Expand Up @@ -346,14 +346,17 @@ <h4>initialize</h4>
<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>
<div class="block">Authenticates this client as belonging to your application.
<p/>
You must define <code>com.parse.APPLICATION_ID</code> and <code>com.parse.CLIENT_KEY</code>
You may define <code>com.parse.SERVER_URL</code>, <code>com.parse.APPLICATION_ID</code> and (optional) <code>com.parse.CLIENT_KEY</code>
<code>meta-data</code> in your <code>AndroidManifest.xml</code>:
<pre>
&lt;manifest ...&gt;

...

&lt;application ...&gt;
&lt;meta-data

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi

android:name="com.parse.SERVER_URL"
android:value="@string/parse_server_url" /&gt;
&lt;meta-data
android:name="com.parse.APPLICATION_ID"
android:value="@string/parse_app_id" /&gt;
Expand Down