This directory contains a client application based onto Sinch SDK java
- JDK 8 or later (Sinch SDK Java is requiring java 8 only but client application can use latest available version)
- Maven
- Sinch account
Edit config.properties file to set credentials to be used to configure the SinchClient.
- To use Numbers, SMS or Conversation, you need to fill the following settings with your Sinch account information:
SINCH_PROJECT_ID=Your Sinch Project IDSINCH_KEY_ID=Your Sinch Key IDSINCH_KEY_SECRET=Your Sinch Key Secret
- To use Verification or Voice you will need application credentials and fill config.properties dedicated section.
- To use SMS with
servicePlanId, you will need service plan ID credentials and fill config.properties dedicated section. SMSandConversationare requiring to define the region to be used to send requests. You can set it in config.properties file with the dedicatedREGIONproperty.
-
Edit configuration file See above for Configuration paragraph
-
Application generation
Application generation command:
mvn package
-
Execute application
java -jar target/sinch-java-sdk-client-application-1.0-SNAPSHOT-jar-with-dependencies.jar