africastalkingltd / africastalking-java Goto Github PK
View Code? Open in Web Editor NEWOfficial Java SDK
Home Page: https://developers.africastalking.com
License: MIT License
Official Java SDK
Home Page: https://developers.africastalking.com
License: MIT License
I am trying to install this as a maven dependency using the instructions on the repo. I get this error
Could not find artifact com.github.AfricasTalkingLtd.africastalking-java:core:pom:3.4.9 in jitpack.io (https://jitpack.io) Could not find artifact com.github.AfricasTalkingLtd.africastalking-java:core:pom:3.4.9 in jitpack.io (https://jitpack.io)
Can anyone provide any direction on this? I have tried it on Java 19 and on Java 11 with a previous version.
Thanks.
When I initiate a call like this :
CallResponse callResponse = voiceService.call(sendMessageDto.getPhoneNumber(), africasTalkingKeyProvider.getAfricasTalkingCallerId());
The CallResponse Pojo does not include the sessionId which is actual present in the HTTP response going by the documentation here : https://build.at-labs.io/docs/voice/make_call
I think sessionIds should be included in CallResponse
so that clients can respond with the right message (handle call phase) based on sessionId when a notification is sent to the callback url
Hi. I was trying to add the 3.4.8
version to my java project using maven
but I am facing this message:
Could not find artifact com.github.AfricasTalkingLtd.africastalking-java:core:jar:3.4.8 in jitpack.io (https://jitpack.io) -> [Help 1]
I had double checked with your documentation and also checked jitpack to see the status of your dependency, everything seems fine. But as I add it to my project and it starts downloading this version, it shows the above message.
Can you help us? :)
Warmest regards
Hello, the fetchSubscriptions
method of class SmsService
does not return Subscription
data.
List<Subscription> subscriptions = smsService.fetchSubscriptions(shortCode, keyword);
The response log displays the data correctly.
<-- 200 OK https://api.sandbox.africastalking.com/version1/subscription?username=sandbox&shortCode=9043&keyword=nouchi&lastReceivedId=0 (2507ms)
Server: akka-http/10.0.5
Date: Fri, 12 Apr 2019 16:32:59 GMT
Content-Type: application/json
Content-Length: 92
{"responses":[{"id":2007740,"phoneNumber":"+22589349055","date":"2019-04-12T14:06:38.000"}]}
<-- END HTTP (92-byte body)
I'm sandbox mode.
Hi,
Please change artifact id from core
to com.africastalking
. Using core
is not good standards and its just good practice to name a dependency jar file the name of the package in the jar file
your platform doesn't support sending emails via sms.
Bumping up the gradle version will help utilizing the latest gradle 8.6
features to optimize the build of the library.
The sdk maven dependency does not resolve
Conflict with Google Protobuf!!!
I got a null pointer exception. It is better to handle this exception and let us know why it is failing.
Here is request:
AfricasTalking.initialize("sandbox", "myAPI key");
List response = sms.send("Hello, testing africash sms from JP!","mysenderID", new String[]{"+23480333XXXX"}, true);
Response:
2021-07-31 12:51:57.504 ERROR 70546 --- [nio-8080-exec-4] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NullPointerException] with root cause
java.lang.NullPointerException: null
at com.africastalking.SmsService.send(SmsService.java:102) ~[core-3.4.8.jar:3.4.7]
Kind offer an alternative to jitpack.io.
As at today it's been down for two days https://www.saashub.com/jitpack-status
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.