Skip to content

Commit

Permalink
Updating dependency versions, fixing build errors
Browse files Browse the repository at this point in the history
Change-Id: I521fa421852339e070f0b2d89bd4f31e40381a9f
  • Loading branch information
samtstern committed Sep 24, 2015
1 parent 0b88624 commit e0aeba6
Show file tree
Hide file tree
Showing 16 changed files with 29 additions and 20 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ Pods/
Podfile.lock
xcuserdata/
*.xcworkspace/

# Android
google-services.json
2 changes: 1 addition & 1 deletion android/admob/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ dependencies {
compile 'com.android.support:appcompat-v7:23.0.0'

// [START gradle_play_config]
compile 'com.google.android.gms:play-services-ads:7.8.0'
compile 'com.google.android.gms:play-services-ads:8.1.0'
// [END gradle_play_config]

androidTestCompile 'com.android.support.test.espresso:espresso-core:2.1'
Expand Down
2 changes: 1 addition & 1 deletion android/admob/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.0'
classpath 'com.google.gms:google-services:1.3.0'
classpath 'com.google.gms:google-services:1.4.0-beta3'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
2 changes: 1 addition & 1 deletion android/analytics/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.0.0'
compile 'com.android.support:support-v4:23.0.0'
compile 'com.google.android.gms:play-services-analytics:7.8.0'
compile 'com.google.android.gms:play-services-analytics:8.1.0'
}
4 changes: 2 additions & 2 deletions android/analytics/app/src/main/res/menu/main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.
-->
<menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res/android">
<menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
<item android:id="@+id/menu_share" android:title="@string/menu_share" app:showAsAction="never" />
</menu>
</menu>
2 changes: 1 addition & 1 deletion android/analytics/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.0'
classpath 'com.google.gms:google-services:1.3.0'
classpath 'com.google.gms:google-services:1.4.0-beta3'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
4 changes: 3 additions & 1 deletion android/app-indexing/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,7 @@ android {
}

dependencies {
compile 'com.google.android.gms:play-services-appindexing:7.8.0'
compile 'com.android.support:support-v4:23.0.0'

compile 'com.google.android.gms:play-services-appindexing:8.1.0'
}
2 changes: 1 addition & 1 deletion android/appinvites/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ dependencies {
compile 'com.android.support:appcompat-v7:23.0.0'
compile 'com.android.support:design:23.0.0'

compile 'com.google.android.gms:play-services-appinvite:7.8.0'
compile 'com.google.android.gms:play-services-appinvite:8.1.0'

// UiAutomatorTesting
androidTestCompile 'com.android.support.test:runner:0.3'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ private void onInviteClicked() {
Intent intent = new AppInviteInvitation.IntentBuilder(getString(R.string.invitation_title))
.setMessage(getString(R.string.invitation_message))
.setDeepLink(Uri.parse(getString(R.string.invitation_deep_link)))
.setCustomImage(Uri.parse(getString(R.string.invitation_custom_image)))
.setCallToActionText(getString(R.string.invitation_cta))
.build();
startActivityForResult(intent, REQUEST_INVITE);
}
Expand Down
8 changes: 5 additions & 3 deletions android/appinvites/app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@
<string name="invitation_title">Send App Invite Quickstart Invitation</string>
<string name="invitation_message">This app is terrific, give it a try and get $5 off!</string>
<string name="invitation_deep_link">http://example.com/offer/five_dollar_offer</string>
<string name="invitation_custom_image">https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png</string>
<string name="invitation_cta">Install!</string>

<string name="deep_link_fmt">Deep Link: %s</string>
<string name="invitation_id_fmt">Invitation ID: %s</string>
<string name="deep_link_fmt" formatted="false">Deep Link: %s</string>
<string name="invitation_id_fmt" formatted="false">Invitation ID: %s</string>

<string name="sent_invitations_fmt">Sent %d invitations</string>
<string name="sent_invitations_fmt" formatted="false">Sent %d invitations</string>
<string name="send_failed">Sending invitations failed</string>
<string name="invite_dialog_title">You got an invitation!</string>
</resources>
2 changes: 1 addition & 1 deletion android/appinvites/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.0'
classpath 'com.google.gms:google-services:1.3.0'
classpath 'com.google.gms:google-services:1.4.0-beta3'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
2 changes: 1 addition & 1 deletion android/gcm/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ android {

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.google.android.gms:play-services-gcm:7.8.0'
compile 'com.google.android.gms:play-services-gcm:8.1.0'

compile 'com.android.support:appcompat-v7:23.0.0'

Expand Down
2 changes: 1 addition & 1 deletion android/gcm/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.0'
classpath 'com.google.gms:google-services:1.3.0'
classpath 'com.google.gms:google-services:1.4.0-beta3'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
2 changes: 1 addition & 1 deletion android/signin/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.0.0'

compile 'com.google.android.gms:play-services-plus:7.8.0'
compile 'com.google.android.gms:play-services-plus:8.1.0'

// UiAutomatorTesting
androidTestCompile 'com.android.support.test:runner:0.2'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public class MainActivity extends AppCompatActivity implements
private GoogleApiClient mGoogleApiClient;

/* View to display current status (signed-in, signed-out, disconnected, etc) */
private TextView mStatusTextView;
private TextView mStatus;

// [START resolution_variables]
/* Is there a ConnectionResult resolution in progress? */
Expand Down Expand Up @@ -91,7 +91,7 @@ protected void onCreate(Bundle savedInstanceState) {
findViewById(R.id.sign_in_button).setEnabled(false);

// Set up view instances
mStatusTextView = (TextView) findViewById(R.id.status);
mStatus = (TextView) findViewById(R.id.status);

// [START create_google_api_client]
// Build GoogleApiClient with access to basic profile
Expand Down Expand Up @@ -121,7 +121,7 @@ private void updateUI(boolean isSignedIn) {
findViewById(R.id.sign_out_and_disconnect).setVisibility(View.VISIBLE);
} else {
// Show signed-out message
mStatusTextView.setText(R.string.signed_out);
mStatus.setText(R.string.signed_out);

// Set button visibility
findViewById(R.id.sign_in_button).setEnabled(true);
Expand Down Expand Up @@ -280,7 +280,7 @@ private void onSignInClicked() {
mGoogleApiClient.connect();

// Show a message to the user that we are signing in.
mStatusTextView.setText(R.string.signing_in);
mStatus.setText(R.string.signing_in);
}
// [END on_sign_in_clicked]

Expand Down
2 changes: 1 addition & 1 deletion android/signin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.0'
classpath 'com.google.gms:google-services:1.3.0'
classpath 'com.google.gms:google-services:1.4.0-beta3'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down

0 comments on commit e0aeba6

Please sign in to comment.