Skip to content
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
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ source "https://rubygems.org"
#gem 'bugsnag-maze-runner', path: '../maze-runner'

# Or a specific release:
gem 'bugsnag-maze-runner', '~>9.0'
gem 'bugsnag-maze-runner', '~>10.0'

# Or follow master:
#gem 'bugsnag-maze-runner', git: 'https://github.com/bugsnag/maze-runner'
Expand Down
3 changes: 3 additions & 0 deletions bugsnag-android-core/api/bugsnag-android-core.api
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,10 @@ public final class com/bugsnag/android/EndpointConfiguration {
public fun <init> ()V
public fun <init> (Ljava/lang/String;Ljava/lang/String;)V
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public fun equals (Ljava/lang/Object;)Z
public final fun getConfiguration ()Ljava/lang/String;
public final fun getNotify ()Ljava/lang/String;
public final fun getSessions ()Ljava/lang/String;
public fun hashCode ()I
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
package com.bugsnag.android

private const val NOTIFY_ENDPOINT = "https://notify.bugsnag.com"
private const val SESSIONS_ENDPOINT = "https://sessions.bugsnag.com"
private const val CONFIGURATION_ENDPOINT = "https://config.bugsnag.com/error-config"

/**
* Set the endpoints to send data to. By default we'll send error reports to
* https://notify.bugsnag.com, and sessions to https://sessions.bugsnag.com, but you can
Expand All @@ -10,13 +14,24 @@ class EndpointConfiguration(
/**
* Configures the endpoint to which events should be sent
*/
val notify: String = "https://notify.bugsnag.com",
val notify: String = NOTIFY_ENDPOINT,

/**
* Configures the endpoint to which sessions should be sent
*/
val sessions: String = "https://sessions.bugsnag.com"
val sessions: String = SESSIONS_ENDPOINT,

/**
* Configures the endpoint to retrieve configuration from
*/
val configuration: String? = CONFIGURATION_ENDPOINT
) {

constructor(
notify: String = NOTIFY_ENDPOINT,
sessions: String = SESSIONS_ENDPOINT
) : this(notify, sessions, null)

override fun equals(other: Any?): Boolean {
if (this === other) return true
if (javaClass != other?.javaClass) return false
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ services:
PUBLISH_PASS:

maze-runner:
image: 855461928731.dkr.ecr.us-west-1.amazonaws.com/maze-runner-releases:latest-v9-cli
image: 855461928731.dkr.ecr.us-west-1.amazonaws.com/maze-runner-releases:latest-v10-cli
environment:
<<: *common-environment
BITBAR_USERNAME:
Expand Down
13 changes: 3 additions & 10 deletions features/steps/android_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,17 +116,10 @@ def wait_for_app_state(expected_state)
When("I relaunch the app after a crash") do
manager = Maze::Api::Appium::AppManager.new
state = wait_for_app_state :not_running
if Maze.config.legacy_driver?
if state != :not_running
manager.close
end
manager.launch
else
if state != :not_running
manager.terminate
end
manager.activate
if state != :not_running
manager.terminate
end
manager.activate
end

When("I tap the screen {int} times") do |count|
Expand Down