Giter Site home page Giter Site logo

microsoftdocs / appcenter-docs Goto Github PK

View Code? Open in Web Editor NEW
121.0 50.0 318.0 178.06 MB

content repo for Visual Studio App Center on docs.microsoft.com

Home Page: https://docs.microsoft.com/appcenter/

License: Creative Commons Attribution 4.0 International

PowerShell 61.57% Shell 38.43%

appcenter-docs's Introduction

App Center documentation

Welcome! This repo contains source files for App Center technical documentation. The topics are published to App Center documentation.

Code of conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of conduct FAQ, or contact [email protected] with any additional questions or comments.

Contributing to the documentation

We welcome your contributions to help us improve the App Center docs. All the articles in this repository use GitHub flavored markdown.

To contribute to this documentation, see the Contributing guide.

If you're an internal docs contributor (Microsoft or GitHub), refer to the Contributing guide – Internal

Several feature areas of App Center have their own folders in this repo, such as build for topics on Build, crashes for topics on the Crash Reporting service, and so forth. The /images subfolder in each folder contains art files for the topics. The Contributing guide has more information.

appcenter-docs's People

Contributors

a-yulee avatar al-cheb avatar alexandergoncharov-zz avatar blparr avatar botatoes avatar conceptdev avatar dhei avatar dipree avatar dmitriykirakosyan avatar ela-malani avatar elamalani avatar glennwester avatar guperrot avatar iamclement avatar jaeklim avatar jwargo avatar king-of-spades avatar lucen-ms avatar matkovivan avatar matthiaswenz avatar oddj0b avatar owlstronaut avatar priskorn avatar prmerger12 avatar siminapasat avatar sshibu avatar timeyoutakeit avatar winnie avatar wisdeom avatar zakeelm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

appcenter-docs's Issues

Change in the Iteration Path

{"System.IterationPath": "Area\Iteration 1", "System.AssignedTo": "Fabrikam"}
Only the above Iteration Path worked for us.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

  • ID: 99771c68-5f45-887a-e926-9ea772021f99
  • Version Independent ID: 865109fc-64b8-ba77-2e10-8002886c46c7
  • Content
  • Content Source
  • Service: vs-appcenter

Additional Information limits

Does TrackError() have the same limits on the properties argument as Analytics.TrackEvent() -- that is, maximum five values, with a 64-character limit on each?


Document details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

  • ID: aaf40a33-9822-a710-501b-afb68625a0f5
  • Version Independent ID: 648bf340-6093-7a7e-9662-5124df8c9206
  • Content
  • Content Source
  • Service: vs-appcenter

Sandbox or Production?

I don't understand the radio buttons regarding Sandbox or Production, and unfortunately the docs do not give any further information. AppCenter says:
"Use Sandbox for initial development and Production for production version of the application. The environment should match the development certificate that you've used to build the application."

So first I selected Sandbox. I made some tests and everything worked fine with my single iOS test device. Now I published my app with Testflight, so it's not available in Apples AppStore yet, only for BetaTesters. Testing push on iOS now shows error messages "Bad channel". Maybe that's because I still have sandbox configuration?

I removed the configuration from AppCenter and created the exact same configuration (using the same key from Apples Key Service). The only difference: I now selected Production instead of Sandbox. Is that correct? I experience some problems now because push notifications are not delivered, it says 0 of 0 sent...?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

  • ID: b6415607-5d22-0249-2537-1d7887b46f16
  • Version Independent ID: 32fafbc0-515e-043f-3481-6f7c3fe2cc91
  • Content
  • Content Source
  • Service: vs-appcenter

Typo

"UITest will hat test execution" should be: "UITest will halt test execution"
Where to fork and fix?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

  • ID: 8a0474be-6e14-b8e6-b6cf-934a04f0e509
  • Version Independent ID: 4a79fc1d-8dca-1c17-718f-c30fda180f05
  • Content
  • Content Source
  • Service: vs-appcenter

NodeJS

Can I run tests with appium written on NodeJS ?

Eng/SW

Hello Glenn, Was noticing that this post speaks to PII, but not as much around methods used to I) Automated Secure Code Review, i.e. MS-approved methods to Inspect code posts by isolating known SI/Live links/Credentials, etc, ii)Monitoring & Tracking plans & investments, iii) Redundancy wrt AKV, or others. Can you say when we might hope to see more? Many thanks,


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Missing a key step (which I found elsewhere)... appcenter login

one key step which is missing... is that in order to do a code push from the command line using the Dynamic Deployment Assignment, you first need to log into the appcenter. Should probably be mentioned prior to giving the command on how to deploy from command line. As a first attempt, following the getting started guide, it was a critical step. Cheers!


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

[Docs][Suggestion] - App Center Crashes - UWP

(at the bottom of the page)

Important
None of the other API calls provided by the Crashes class are supported on UWP, they work only for Xamarin. UWP only supports starting Crashes with AppCenter.Start.

Should it be further outlined that "Xamarin" is referring to

  • Xamarin.iOS & Xamarin.Android
  • Xamarin.Forms being deployed to iOS & Android

to help avoid confusion of anyone writing a Xamarin.Forms app, looking to deploy to UWP?

Long build time for monolithic repo due to nuget restore *.sln

My Xamarin.Android app lives in a monolithic repo in github alongside other solution files (.sln). Due to appcenter's build process, nuget packages for all solutions are restored causing my build time to increase unnecessarily. This is due to nuget restore *.sln command that is run as part of the build process. It would be better if we could specify the solution to restore as part of the build configuration so that only the required packages are restored. This is similar to how VSTS works.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

  • ID: cf851143-9dbb-f208-f804-659694927d5b
  • Version Independent ID: 8483c311-3184-2271-f6bb-d6bcfd682050
  • Content
  • Content Source
  • Service: vs-appcenter

IP Addresses

I need to whitelist the app center IP Address so that it does have access to our environments for testing, what are the IP Addresses?

Thanks.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

App Center push only when app is running in the background

Hi,

I know it says at the top of this article that the push notifications will work when the app is running in the background. Fair enough - but being able to send notifications when the app is not running is a pretty common feature right? Surely it is possible? How would I go about doing that? Any guidance would be appreciated.

Also - I have implemented everything in this article and eventually got notifications working. However - there is no mention of NotificationManager.Notify() - I had to get that from somewhere else. If you implement everything in this article you won't actually see a notification unless you use the Notification Manager.

Thanks for the guide!
Brad


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

thanks

good


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

  • ID: aa9700f5-b9e0-dfe1-ddbc-b5a3231dde11
  • Version Independent ID: 11728c80-1474-c1dc-caf0-2c6b6c44bbb3
  • Content
  • Content Source
  • Service: vs-appcenter

Missing informations if using Cocoapods

Hi guys,

It could be great if you edit this part https://docs.microsoft.com/fr-fr/appcenter/distribution/codepush/react-native#multi-deployment-testing for users using Cocoapods about the modification of Per-configuration Build Products Path

For Cocoapods users like me, I also have to edit the PODS_CONFIGURATION_BUILD_DIR in my project's targets to get third part libraries work with the new staging configuration. And before building staging env, we have to build Release env first because Staging env libraries might depend of Release's files.

Best regards,


Détails du document

Ne pas modifier cette section. C’est obligatoire pour docs.microsoft.com ➟ Liaison des problèmes GitHub.

  • ID: 39490e39-be97-2bba-5afc-6bc8bed39690
  • Version Independent ID: 357a2070-e41c-b346-e18b-606eec7255c2
  • Content
  • Content Source
  • Service: vs-appcenter

Several issues

I've implemented everything in this article. However, I'm facing some issues.

Issue 1. In the below event,
Push.PushNotificationReceived += (sender, e)

if (e.CustomData != null)
{
summary += "\n\tCustom data:\n";
foreach (var key in e.CustomData.Keys)
{
summary += $"\t\t{key} : {e.CustomData[key]}\n";
}
}

e.CustomData is ALWAYS NOT null.
I always get this custom data key/value pair:
"google.ttl", "2419200"

Issue 2. This method never gets called, even though I use LaunchMode = LaunchMode.SingleTop
protected override void OnNewIntent(Intent intent)
{
base.OnNewIntent(intent);
Push.CheckLaunchedFromNotification(this, intent);
}

Third issue I encounter is this:

  1. My main activity uses LaunchMode = LaunchMode.SingleTop
  2. While on my main activity I press the back button to dismiss the activity.
  3. I send my push notification from appcenter.ms
  4. Notification appears in the notification center quite alright.
  5. Once I click the notification, my Main activity launches (still doesn't call OnNewIntent as I explained earlier).
  6. The e.Title and e.Message are always null in Push.PushNotificationReceived += (sender, e). Although if I had sent the push notification while the app was in the foreground, e.Title and e.Message will not be null.

Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Documentation of import incorrect

import AppCenter from 'appcenter';
I don't believe this import can work with the current version of the Cordova SDK, unless I'm missing something...


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

  • ID: 5b907baa-5e3a-da69-a50b-2eb46346a1c8
  • Version Independent ID: 74049b61-a973-d240-728a-e725d9383599
  • Content
  • Content Source
  • Service: vs-appcenter

Analytics throws exception

When I call AppCenter.Start($"android={ANDROID_APPCENTER_KEY};uwp={UWP_APPCENTER_KEY}",
typeof(Analytics), typeof(Crashes), typeof(Distribute));
I get this exception in Android. Any Ideas?
02-26 17:13:36.117 E/AndroidRuntime(10529): FATAL EXCEPTION: AppCenter.Looper
02-26 17:13:36.117 E/AndroidRuntime(10529): Process: com.companyname.CleanbirdApp, PID: 10529
02-26 17:13:36.117 E/AndroidRuntime(10529): java.lang.AbstractMethodError: abstract method "boolean com.microsoft.appcenter.channel.Channel$Listener.shouldFilter(com.microsoft.appcenter.ingestion.models.Log)"
02-26 17:13:36.117 E/AndroidRuntime(10529): at com.microsoft.appcenter.channel.DefaultChannel.enqueue(DefaultChannel.java:551)
02-26 17:13:36.117 E/AndroidRuntime(10529): at com.microsoft.appcenter.AppCenter.sendStartServiceLog(AppCenter.java:599)
02-26 17:13:36.117 E/AndroidRuntime(10529): at com.microsoft.appcenter.AppCenter.finishStartServices(AppCenter.java:586)
02-26 17:13:36.117 E/AndroidRuntime(10529): at com.microsoft.appcenter.AppCenter.access$400(AppCenter.java:52)
02-26 17:13:36.117 E/AndroidRuntime(10529): at com.microsoft.appcenter.AppCenter$5.run(AppCenter.java:562)
02-26 17:13:36.117 E/AndroidRuntime(10529): at android.os.Handler.handleCallback(Handler.java:739)
02-26 17:13:36.117 E/AndroidRuntime(10529): at android.os.Handler.dispatchMessage(Handler.java:95)
02-26 17:13:36.117 E/AndroidRuntime(10529): at android.os.Looper.loop(Looper.java:148)
02-26 17:13:36.117 E/AndroidRuntime(10529): at android.os.HandlerThread.run(HandlerThread.java:61)
02-26 17:13:36.167 D/ViewRootImpl(10529): ViewPostImeInputStage processPointer 1


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

  • ID: 5d72f6fe-74d6-696e-e709-5f6d577c0a58
  • Version Independent ID: b3d0ea8b-5a1f-bf71-7dc2-9685cf23c00b
  • Content
  • Content Source
  • Service: vs-appcenter

option to upload symbol file can not be found

Documentation and tutorials indicate that the map files must be uploaded, but the button or option to upload them is not found on the platform.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Custom crashes

is there an API for sending a custom crash? for ex. my server returned me 404 which I did not expect so I would like to send a crash
is it possible?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Queries about capabilities and usage

  1. When I use automatic sending, it seems to want dsym and js map files uploaded, but when I enable sending in Javascript, it doesn’t. Why?

  2. Either way, it doesn’t seem to provide me useful information about where the crash occurred (file, method, line etc) - am I missing something here?

  3. I set up the system to add a text attachment to the report using the following code:

    getErrorAttachments: () => {
    const info = 'some text information I want to see along with the crash report'
    const textAttachment = ErrorAttachmentLog.attachmentWithText(info, 'version.txt')
    return [textAttachment]
    },

I have verified that it’s being called, but I can’t see the information anywhere in the crash report user interface. Where is it put? Or am I calling it incorrectly (the example only shows returning an array of text and binary attachment)?

  1. How can I tell what permission to send reports the user has previously given? If they have given UserConfirmation.ALWAYS_SEND permission, I don’t want to show an alert that it’s been sent, but if they have just said yes to sending once, I do want to tell them.

  2. Once they have given the UserConfirmation.ALWAYS_SEND permission, how do I reset it so it asks them again?

Thanks


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

  • ID: 519e420f-cf2a-1d5b-d86a-d01c09bcf7a0
  • Version Independent ID: 59c746fb-cf4d-3019-2b48-56b69e09aa27
  • Content
  • Content Source
  • Service: vs-appcenter

Change "stared" to "started" typo

You can expect API support for everything you see in the portal. We have a swagger as well as documentation on how to get stared with our APIs. Change "stared" to "started". hope this helps.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

How to upload Symbols for crash reporting

How does one " Create a ZIP file for the dSYM package on your Mac. " ?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

  • ID: 663b3972-5d13-f787-05c6-45f0d49127ef
  • Version Independent ID: 1aa13690-4428-163d-4cb4-f8fecad0665e
  • Content
  • Content Source
  • Service: vs-appcenter

AppCenter Push iOS - Ability to register for remote notifications manually

Hi,

I am checking out the AppCenter Push SDK for Xamarin Forms (iOS, Android).
I observed that on iOS the SDK registers for remote notifications when I call AppCenter.Start().
One of my requirements (and best practice really) is to ask the user if he wants to receive push notifications in a context that makes sense for him, in a later point in time, not at the app start, because the rejection rate might be very high.

I could not find the possibility to disable the registration done by the SDK so that I could manually do that.

Did I miss something? Or does the SDK not support that.

Thanks

Too many dependencies for basic crash analytics

I would like to use AppCenter for crash analytics, but I count about 10 dependencies including NewtonSoft.Json and SQLLite when adding the NuGet package Microsoft.AppCenter.Analytics. I have a significant investment in eliminating dependencies (and startup time) in my application, and this large dependency overhead unfortunately makes AppCenter unusable for me.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

iOS Extensions signing?

Hello,
Does App Center support iOS extensions signing? As I can see, only one provisioning profile can be uploaded into the build configuration.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

  • ID: 5d72f6fe-74d6-696e-e709-5f6d577c0a58
  • Version Independent ID: b3d0ea8b-5a1f-bf71-7dc2-9685cf23c00b
  • Content
  • Content Source
  • Service: vs-appcenter

Distribution options.

"Support to sign with a Distribution certificate and provisioning profile will be added at a later time."
Is there an ETA or roadmap available for this? This is 100% the feature we need for appcenter.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

  • ID: c01f1809-2316-7d47-1547-23775f6dd618
  • Version Independent ID: 7d719380-4d1d-e995-e0e5-b2474ae5e9af
  • Content
  • Content Source
  • Service: vs-appcenter

No Symbols Found

Hi

I Uploaded the sourcemap using the command above, when i upload to app center it is showing as no symbols found.

I am unable to find Crashes sources for React Native App.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

[Test] "Preparing Appium Tests for Upload" omits instructions to package for upload & additional useful details

Overview

Description

The major steps listed in the AppCenter/Test doc stop at 2, while the major steps in the legacy guide include specific details on packaging the upload folder & more details about limitations/troubleshooting.

Differences from Test Cloud vs. AppCenter/Test

I have not evaluated this guide in-depth to determine what pieces of information have changed from Test Cloud to AppCenter/Test, but it is likely at least some details have, so the data likely should be reviewed rather than copy pasting the "missing" steps.

CodePush release promotion command incorrect?

The documentation states that to promote a release it should look something like this appcenter codepush promote -a <ownerName>/<appName> <sourceDeploymentName> <destDeploymentName> where as I have to actually prefix the source and destination deployment names with -s and -d.

Application is breaking after adding code push

After enabling code push in React Native, the application is crashing. While building I am getting the below error

ERROR in ./node_modules/react-native/Libraries/react-native/react-native-implementation.js
Module not found: Error: Can't resolve 'AccessibilityInfo' in 'C:\Github\React\Native\Basic_Controls\node_modules\react-native\Libraries\react-native'
@ ./node_modules/react-native/Libraries/react-native/react-native-implementation.js 19:31-59
@ ./node_modules/react-native-code-push/CodePush.js
@ ./App.js
@ ./index.web.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./index.web.js

What is causing this issue? And how to resolve it?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Most page actions open up a question box in Firefox asking if I want to save the password

There is something wrong with this behavior. It asks me EVERY TIME I do something to save this password, never with a username. There is also no place to submit feedback for App Center within the App Center, so I have to come here to do so.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

  • ID: 06813350-a37b-a4a2-fdbc-a59caefb9f32
  • Version Independent ID: 29787958-5b4e-efc2-2af5-2af0ee53216e
  • Content
  • Content Source
  • Service: vs-appcenter

Can't see build details

When I run appcenter codepush deployment list --app Appname, I get shown the following:

│ Name │ Key │
├────────────┼──────────────────────────────────────────────────────────────────┤
│ Production │ prod-key │
├────────────┼──────────────────────────────────────────────────────────────────┤
│ Staging │staging-key │

I can no longer see which build is the latest in which environment (or what percentage of users has downloaded it). Is this something that will becoming back? It was a killer feature of code-push and I am sad to see it go!

Are you killing the project?

The roadmap is short and you haven’t release anything in over 2 months? Are you terminating the project? You have not fixed Managed exceptions and that have been a issue since day one? We was changing from RayGun to AppCenter but if you are not dedicated and stop development we will change back again.


Dokumentoplysninger

Undlad at redigere denne sektion. Det er påkrævet til docs.microsoft.com ➟ GitHub-problemlinkning.

  • ID: 62690a4a-94f3-21cb-a674-d297e557ca62
  • Version Independent ID: 3adaeac7-e034-5b5b-19c5-1c0151a7264c
  • Content
  • Content Source
  • Service: vs-appcenter

Appium Javascript

Greetings,

Can I run test with Appium which is written on JavaScript (Webdriver.io to be specific)?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Appium c#

Can I run tests with appium written on C# ? If yes where is the documentation for that?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

  • ID: ed7c0d11-e60a-f088-e983-7465aca41515
  • Version Independent ID: b2c6a308-1fcb-a385-239d-862b2c14114c
  • Content
  • Content Source
  • Service: vs-appcenter

Clarification on background notifications

Hi,

I need a clarification on this note:
"The background notification click callback does NOT expose title and message. Title and message are only available in foreground pushes."

What about e.Custom data? Does clicking a background notification expose the custom data. If it does, I could make use of it.

Also, could you please give an example of using Push.PushNotificationReceived in an app whose launcher activity is a splashscreen. Becasue in that case, the push notification event handler will be configured in OnCreate method of a temporary Activity (splash screen)

Thank you.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Are one-click releases with AC Distribution possible with builds from AC?

Once I build my app on AC with the most recent build, do I have to ability to push that build to Distribution without having to download it and upload it back to Distribution?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

  • ID: cde49960-01fb-c5ff-ad3d-b8b6c7ac8d11
  • Version Independent ID: 524b6257-9c78-600a-9e8d-193c59fc6b48
  • Content
  • Content Source
  • Service: vs-appcenter

iOS version prerequisite

Section 1 Prerequisites mentions:
"You are targeting devices running iOS 9.0 or later or Android 4.0.3 (API level 15) or later".
In my info.plist my Deployment Target is 9.0.

Yet when I add the 1.5.0 AppCenter packages I am getting the following errors:
"error MT5209 : Native linking error : warning: object file was built for newer iOS version (10.1) than being linked (9.0)".

Is the 9.0 or later prerequisite still accurate?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Appcenter download page & links

We are in the process of integrating appcenter and running into a user acceptance issue.

The download page for the app shows the app name which is not attractive to our customers for example
example-com-Android
example-com-iOS

we would like to be able to change that title to something more attractive such as
example.com Android App
example.com iOS App

also the downloads are coming from rink.hockeyapp.net we are getting feedback from customers thinking our site has been hacked, can this be change to either microsoft or something less suspect?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

  • ID: 9596a2ab-2a3d-66cc-bc9d-b06256bef86f
  • Version Independent ID: 9c12d768-6e98-997b-192a-623e3d7bb68e
  • Content
  • Content Source
  • Service: vs-appcenter

Documentation on creating automated tests does not exist

The main use-case for appcenter testing (test cloud) is to be able to create automated tests that run after a new build is triggered. However, the documentation talks just about how to upload a one off test to appcenter from your local machine using a pre-built app bundle. It wasn't until I found this blog https://tomsoderling.github.io/AppCenter-Automated-UI-tests-on-build/ that I could figure out how to create automated tests via post build scripts. I think this needs to be front and center for appcenter test. You can even see that in the blog the author took 34 builds before they got what they wanted, even with support from appcenter.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

  • ID: 1bd83c51-172c-1ec2-a485-9118c1109c0b
  • Version Independent ID: 44c1a155-e819-aa43-f3aa-2f254afb259b
  • Content
  • Content Source
  • Service: vs-appcenter

[Test - Espresso] Preparing for Upload guide: Add clarification about modifications to the build system

Overview

https://github.com/MicrosoftDocs/appcenter-docs/blob/live/docs/test-cloud/preparing-for-upload/espresso.md#1-changes-to-the-build-system

Description

I think two items are potentially confusing here:

1) It's not very clear that the user needs to look at different build.gradle files for the settings they're applying:

Make sure you have a jcenter() entry in the build.gradle in your project root directory:
vs.
Add the following dependency in your app module's build.gradle file:

The proximity of these two items misled me for awhile into thinking I was to apply both changes to the same build.gradle file. One possible way to make this clearer is to add emphasis to what the actual hint names of the files are. For example, in my project, it looks like the format is:

  • build.gradle (Project: projectname)
  • build.gradle (Module: app)

It would be good if someone could confirm that format is consistently what should be expected in an app; or if there's some other aspect that varies. ("projectname" looks like it varies based on the actual name of the project, but I think the rest is still displayed as normal.)

2) Starting with Gradle 3.0, androidTestCompile is deprecated and you should use androidTestImplementation instead.

I think it's a bit confusing whether the only change the user should be making in this scenario is to change androidTestCompile('com.microsoft.appcenter:espresso-test-extension:1.2') to androidTestImplementation('com.microsoft.appcenter:espresso-test-extension:1.2') renaming the method but passing in the same argument...or if the user actually needs to modify the element in some additional way.

Event Metric Limits

"The maximum number of distinct custom events that can be tracked daily is 200." Is it per App, device or user ?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

createPom gradle Task

I ran into a few issues attempting to follow these instructions.

  1. I believe the final curly brace is missing from the code snippet. I had to add one for the Gradle build to work.
  2. There is a comment in the createPom task indicating that we don't want to iterate over test dependencies, but the subsequent line of code appears to be iterating over the test dependencies. Which is correct?
  3. The pom being produced for my project ends up with two dependencies nodes, which is causing a problem. I couldn't figure out how to fix the gradle script to resolve this problem, so I just deleted the extra dependencies node from the pom.
  4. I had to add a groupId and the jcenter repository to the pom in order for the maven execution to work.

For now, I will just commit the modified pom.xml file and remove the createPom task from build.gradle in my project.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Update for React Native v0.50+ codepush support

Its been 4+ months since this document updated, I was wondering if I can use code push with React Native v0.53 at least.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Apps with extension target(s) have additional provisioning profiles required for build

My app has an extension target therefore I need to upload an additional provisioning profile for a build to succeed. Currently the UI for creating a build configuration only allows uploading a single provisioning profile. To overcome this I'm using a post-clone script that copies the mobile provisioning profile from the working directory to ~/Library/MobileDevice/Provisioning\ Profiles.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

  • ID: c01f1809-2316-7d47-1547-23775f6dd618
  • Version Independent ID: 7d719380-4d1d-e995-e0e5-b2474ae5e9af
  • Content
  • Content Source
  • Service: vs-appcenter

Build Scripts not running

I add 2 files appcenter-post-clone.sh and appcenter-post-build.sh and some simple commands as echo "post-clone" into them in my project. And it seems that ms appcenter recognized them because in App center -> build -> build scripts, I saw post-clone and pre-build. But in the build output logs, no sign that indicate appcenter run my commands


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

v1.4.0 Release Notes?

Where can I find release notes for AppCenter SDK v1.4.0 ?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

  • ID: 62690a4a-94f3-21cb-a674-d297e557ca62
  • Version Independent ID: 3adaeac7-e034-5b5b-19c5-1c0151a7264c
  • Content
  • Content Source
  • Service: vs-appcenter

The Crashes service doesn't really support React Native on Android

This document is misleading since the Crashes service doesn't support SourceMaps for React Native on Android, which means that you won't get a line number of where the crash occurred, which in my opinion makes the Crashes services not very useful.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.