├── app ├── .gitignore ├── src │ ├── main │ │ ├── ic_launcher-web.png │ │ ├── res │ │ │ ├── drawable │ │ │ │ ├── build.png │ │ │ │ ├── push.png │ │ │ │ ├── test.png │ │ │ │ ├── crashes.png │ │ │ │ ├── mclogo.png │ │ │ │ ├── analytics.png │ │ │ │ └── distribute.png │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── values │ │ │ │ ├── dimens.xml │ │ │ │ ├── styles.xml │ │ │ │ ├── colors.xml │ │ │ │ └── strings.xml │ │ │ ├── values-w820dp │ │ │ │ └── dimens.xml │ │ │ └── layout │ │ │ │ ├── activity_root.xml │ │ │ │ ├── push_root.xml │ │ │ │ ├── distribute_root.xml │ │ │ │ ├── test_root.xml │ │ │ │ ├── build_root.xml │ │ │ │ ├── welcome_root.xml │ │ │ │ ├── crashes_root.xml │ │ │ │ └── analytics_root.xml │ │ ├── java │ │ │ └── ms │ │ │ │ └── appcenter │ │ │ │ └── sampleapp │ │ │ │ └── android │ │ │ │ ├── PushActivity.java │ │ │ │ ├── TestActivity.java │ │ │ │ ├── BuildActivity.java │ │ │ │ ├── WelcomeActivity.java │ │ │ │ ├── DistributeActivity.java │ │ │ │ ├── CrashesActivity.java │ │ │ │ ├── AnalyticsActivity.java │ │ │ │ └── MainActivity.java │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── ms │ │ │ └── appcenter │ │ │ └── sampleapp │ │ │ └── android │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── ms │ │ └── appcenter │ │ └── sampleapp │ │ └── android │ │ └── ExampleInstrumentedTest.java ├── appcenter-post-build.sh ├── appcenter-post-clone.sh ├── appcenter-pre-build.sh ├── proguard-rules.pro └── build.gradle ├── settings.gradle ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── fastlane ├── Pluginfile ├── Appfile └── Fastfile ├── Gemfile ├── azure-pipelines.yml ├── gradle.properties ├── .gitignore ├── gradlew.bat ├── SECURITY.md ├── README.md ├── Gemfile.lock └── gradlew /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /app/src/main/ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-android/HEAD/app/src/main/ic_launcher-web.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/build.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-android/HEAD/app/src/main/res/drawable/build.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/push.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-android/HEAD/app/src/main/res/drawable/push.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-android/HEAD/app/src/main/res/drawable/test.png -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-android/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/drawable/crashes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-android/HEAD/app/src/main/res/drawable/crashes.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/mclogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-android/HEAD/app/src/main/res/drawable/mclogo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/analytics.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-android/HEAD/app/src/main/res/drawable/analytics.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/distribute.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-android/HEAD/app/src/main/res/drawable/distribute.png -------------------------------------------------------------------------------- /fastlane/Pluginfile: -------------------------------------------------------------------------------- 1 | # Autogenerated by fastlane 2 | # 3 | # Ensure this file is checked in to source control! 4 | 5 | gem 'fastlane-plugin-appcenter' 6 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-android/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-android/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-android/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-android/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-android/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-android/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-android/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-android/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-android/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/microsoft/appcenter-sampleapp-android/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/appcenter-post-build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | echo "This is an App Center Post-Build script. For more information on how to use App Center build scripts vist: https://docs.microsoft.com/en-us/appcenter/build/custom/scripts" 4 | -------------------------------------------------------------------------------- /app/appcenter-post-clone.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | echo "This is an App Center Post-Clone script. For more information on how to use App Center build scripts vist: https://docs.microsoft.com/en-us/appcenter/build/custom/scripts" 4 | -------------------------------------------------------------------------------- /app/appcenter-pre-build.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | echo "This is an App Center Pre-Build script. For more information on how to use App Center build scripts vist: https://docs.microsoft.com/en-us/appcenter/build/custom/scripts" 4 | -------------------------------------------------------------------------------- /fastlane/Appfile: -------------------------------------------------------------------------------- 1 | package_name("ms.appcenter.sampleapp.android") # e.g. com.krausefx.app 2 | 3 | ## If you want to configure fastlane to upload to the Google Play Store 4 | # json_key_file("") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one 5 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Apr 27 12:02:06 MSK 2018 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 16dp 6 | 8dp 7 | 8 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | source "https://rubygems.org" 4 | 5 | git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } 6 | 7 | # gem "rails" 8 | 9 | gem "fastlane", "~> 2.137" 10 | 11 | plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile') 12 | eval_gemfile(plugins_path) if File.exist?(plugins_path) 13 | -------------------------------------------------------------------------------- /app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 64dp 6 | 7 | -------------------------------------------------------------------------------- /app/src/test/java/ms/appcenter/sampleapp/android/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package ms.appcenter.sampleapp.android; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.assertEquals; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /app/src/main/java/ms/appcenter/sampleapp/android/PushActivity.java: -------------------------------------------------------------------------------- 1 | package ms.appcenter.sampleapp.android; 2 | 3 | import android.os.Bundle; 4 | import android.view.LayoutInflater; 5 | import android.view.View; 6 | import android.view.ViewGroup; 7 | 8 | import androidx.fragment.app.Fragment; 9 | 10 | public class PushActivity extends Fragment { 11 | @Override 12 | public View onCreateView(LayoutInflater inflater, ViewGroup container, 13 | Bundle savedInstanceState) { 14 | ViewGroup rootView = (ViewGroup) inflater.inflate( 15 | R.layout.push_root, container, false); 16 | return rootView; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /app/src/main/java/ms/appcenter/sampleapp/android/TestActivity.java: -------------------------------------------------------------------------------- 1 | package ms.appcenter.sampleapp.android; 2 | 3 | import android.os.Bundle; 4 | import android.view.LayoutInflater; 5 | import android.view.View; 6 | import android.view.ViewGroup; 7 | 8 | import androidx.fragment.app.Fragment; 9 | 10 | public class TestActivity extends Fragment { 11 | @Override 12 | public View onCreateView(LayoutInflater inflater, ViewGroup container, 13 | Bundle savedInstanceState) { 14 | ViewGroup rootView = (ViewGroup) inflater.inflate( 15 | R.layout.test_root, container, false); 16 | return rootView; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /app/src/main/java/ms/appcenter/sampleapp/android/BuildActivity.java: -------------------------------------------------------------------------------- 1 | package ms.appcenter.sampleapp.android; 2 | 3 | import android.os.Bundle; 4 | import android.view.LayoutInflater; 5 | import android.view.View; 6 | import android.view.ViewGroup; 7 | 8 | import androidx.fragment.app.Fragment; 9 | 10 | public class BuildActivity extends Fragment { 11 | 12 | @Override 13 | public View onCreateView(LayoutInflater inflater, ViewGroup container, 14 | Bundle savedInstanceState) { 15 | ViewGroup rootView = (ViewGroup) inflater.inflate( 16 | R.layout.build_root, container, false); 17 | return rootView; 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /app/src/main/java/ms/appcenter/sampleapp/android/WelcomeActivity.java: -------------------------------------------------------------------------------- 1 | package ms.appcenter.sampleapp.android; 2 | 3 | import android.os.Bundle; 4 | import android.view.LayoutInflater; 5 | import android.view.View; 6 | import android.view.ViewGroup; 7 | 8 | import androidx.fragment.app.Fragment; 9 | 10 | public class WelcomeActivity extends Fragment { 11 | @Override 12 | public View onCreateView(LayoutInflater inflater, ViewGroup container, 13 | Bundle savedInstanceState) { 14 | ViewGroup rootView = (ViewGroup) inflater.inflate( 15 | R.layout.welcome_root, container, false); 16 | return rootView; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /app/src/main/java/ms/appcenter/sampleapp/android/DistributeActivity.java: -------------------------------------------------------------------------------- 1 | package ms.appcenter.sampleapp.android; 2 | 3 | import android.os.Bundle; 4 | import android.view.LayoutInflater; 5 | import android.view.View; 6 | import android.view.ViewGroup; 7 | 8 | import androidx.fragment.app.Fragment; 9 | 10 | public class DistributeActivity extends Fragment { 11 | 12 | @Override 13 | public View onCreateView(LayoutInflater inflater, ViewGroup container, 14 | Bundle savedInstanceState) { 15 | ViewGroup rootView = (ViewGroup) inflater.inflate( 16 | R.layout.distribute_root, container, false); 17 | return rootView; 18 | } 19 | } 20 | 21 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 15 | 16 |