Skip to content

Commit

Permalink
chore: add bnpp region (#10)
Browse files Browse the repository at this point in the history
* chore: add bnpp region

Signed-off-by: nitish <[email protected]>
  • Loading branch information
nitish-sudo authored Dec 5, 2023
1 parent c1f078f commit 5cf82e4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"files": "^.secrets.baseline$|go.sum",
"lines": null
},
"generated_at": "2022-01-22T15:43:11Z",
"generated_at": "2023-12-04T07:34:07Z",
"plugins_used": [
{
"name": "AWSKeyDetector"
Expand Down Expand Up @@ -61,7 +61,7 @@
}
],
"results": {},
"version": "0.13.1+ibm.47.dss",
"version": "0.13.1+ibm.61.dss",
"word_list": {
"file": null,
"hash": null
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![Build Status](https://travis-ci.com/IBM/event-notifications-destination-android-sdk.svg?token=eW5FVD71iyte6tTby8gr&branch=main)](https://travis-ci.com/IBM/event-notifications-destination-android-sdk)


# Android destination SDK for IBM Cloud Event Notifications service Version 0.0.1
# Android destination SDK for IBM Cloud Event Notifications service Version 0.2.0
Android destination client library to interact with various [IBM Cloud Event Notifications Service](https://cloud.ibm.com/apidocs?category=event-notifications).

## Table of Contents
Expand All @@ -25,7 +25,7 @@ The IBM Cloud Event Notifications Service Android destination SDK allows develop

Service Name | Artifact Coordinates
--- | ---
[Event Notifications Service](https://cloud.ibm.com/apidocs/event-notifications) | com.ibm.cloud:eventnotifications-destination-android:0.0.1
[Event Notifications Service](https://cloud.ibm.com/apidocs/event-notifications) | com.ibm.cloud:eventnotifications-destination-android:0.2.0

## Prerequisites

Expand All @@ -36,7 +36,7 @@ Service Name | Artifact Coordinates
* An IAM API key to allow the SDK to access your account. Create one [here](https://cloud.ibm.com/iam/apikeys).

## Installation
The current version of this SDK is: 0.0.1
The current version of this SDK is: 0.2.0

Each service's artifact coordinates are listed in the table above.

Expand All @@ -50,7 +50,7 @@ To use the Event Notifications Android destination SDK, define a dependency that

### Gradle
```gradle
compile 'com.ibm.cloud:eventnotifications-destination-android:0.0.1'
compile 'com.ibm.cloud:eventnotifications-destination-android:0.2.0'
```

## Using the SDK
Expand Down Expand Up @@ -107,7 +107,7 @@ Configure the Module level `build.gradle` and Project level `build.gradle` files
implementation 'com.google.firebase:firebase-messaging'
implementation 'com.ibm.cloud:sdk-core:9.15.0'

implementation 'com.ibm.cloud:eventnotifications-destination-android:0.0.1'
implementation 'com.ibm.cloud:eventnotifications-destination-android:0.2.0'
.......
}
```
Expand Down
4 changes: 2 additions & 2 deletions lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ android {
minSdk 22
targetSdk 31
versionCode 1
versionName "0.0.1"
buildConfigField 'String', 'VERSION_NAME', "\"0.0.1\""
versionName "0.2.0"
buildConfigField 'String', 'VERSION_NAME', "\"0.2.0\""

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public class ENPush extends FirebaseMessagingService{
public final static String REGION_SYDNEY = "au-syd";
public final static String REGION_FRANKFURT = "eu-de";
public final static String REGION_MADRID = "eu-es";
public final static String REGION_BNPP = "eu-fr2";

public static final String PREFS_NAME = "com.ibm.cloud.eventnotifications.destination.android";
static final String PREFS_NOTIFICATION_MSG = "LatestNotificationMsg";
Expand Down

0 comments on commit 5cf82e4

Please sign in to comment.