-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
add2ea0
commit 8e599c5
Showing
22 changed files
with
1,620 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"Configure your project on fcm and replace with your google-service.json file" : "google-service.json" | ||
"Configure your project on fcm and replace with your google-service.json file" : "google-service.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 33 additions & 5 deletions
38
ChannelizeSampleSdk/app/src/main/java/com/channelize/sample/Config.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,39 @@ | ||
package com.channelize.sample; | ||
|
||
public class Config { | ||
class Config { | ||
|
||
// This will be the api key. | ||
static final String API_KEY = "Replace with your channelize api key"; | ||
//This will be the default API calling url. ("Subdomain" is present in Channelize.io Plugin) | ||
static final String API_DEFAULT_URL = "https://YOUR_SUBDOMAIN.primemessenger.com/api/"; | ||
|
||
// this will be sender id of the project | ||
public static final String FIREBASE_SENDER_ID = "Replace with your project number"; | ||
//This will be the mqtt client server url. ("Subdomain" is present in Channelize.io Plugin) | ||
static final String MQTT_SERVER_URL = "wss://YOUR_SUBDOMAIN.primemessenger.com"; | ||
|
||
// This will be the api key. ("API key" is present in Channelize.io Plugin) | ||
static final String API_KEY = "CHANNELIZE_API_KEY"; | ||
|
||
//This will be the private api key. ("PRIVATE API key" is present in Channelize.io Plugin) | ||
static final String API_PRIVATE_KEY = "CHANNELIZE_API_KEY"; | ||
|
||
// this will be project_number in google-services.json file. | ||
// Leave this field to empty if you don't want the push notifications. | ||
public static final String FIREBASE_SENDER_ID = "CHANNELIZE_FIREBASE_SENDER_ID"; | ||
|
||
// This will be the mobilesdk_app_id in google-services.json file' | ||
// Leave this field to empty if you don't want the push notifications. | ||
public static final String FIREBASE_APPLICATION_ID = "CHANNELIZE_FIREBASE_APPLICATION_ID"; | ||
|
||
// This will be the giphy api key for the sticker and gif module. | ||
// To use this feature you've to purchase the sticker-gif module | ||
// Leave this field to empty if you don't want the sticker/gif features. | ||
static final String GIPHY_API_KEY = "CHANNELIZE_GIPHY_API_KEY"; | ||
|
||
// This will be the google places api key for the location module. | ||
// Leave this field to empty if you don't want the location features. | ||
static final String GOOGLE_PLACES_API_KEY = "CHANNELIZE_GOOGLE_PLACES_API_KEY"; | ||
|
||
// This will be the agora app id for voice/video call. | ||
// This will only works when you've the video voice call module. | ||
// So add this line only when you've the video voice call module. | ||
static final String AGORA_APP_ID = ""; | ||
|
||
} |
Oops, something went wrong.