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
Original file line number Diff line number Diff line change
Expand Up @@ -167,14 +167,14 @@ class EcosystemManager(

if (intent == null) {
Log.d(TAG, "received intent is null")
val message = activity.getString(R.string.ecosystem_null_intent)
val message = activity.getString(R.string.ecosystem_wrong_intent)
callback.onAccountError(message)
return
}

if (intent.action != ECOSYSTEM_INTENT_ACTION) {
Log.d(TAG, "received intent action is not matching")
val message = activity.getString(R.string.ecosystem_received_intent_action_not_matching)
val message = activity.getString(R.string.ecosystem_wrong_intent)
callback.onAccountError(message)
return
}
Expand Down
4 changes: 1 addition & 3 deletions core/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@
<item quantity="other">%dh</item>
</plurals>


<string name="ecosystem_null_account">Account is missing. Cannot open the app.</string>
<string name="ecosystem_null_intent">Received intent is null.</string>
<string name="ecosystem_received_intent_action_not_matching">Received intent is not matching.</string>
<string name="ecosystem_wrong_intent">Cannot complete action: received unexpected data</string>
<string name="ecosystem_received_account_invalid">Received account is invalid.</string>
<string name="ecosystem_invalid_account">Invalid account format. Must be an email.</string>
<string name="ecosystem_app_not_found">App not installed. Redirecting to store…</string>
Expand Down
Loading