mnotify | package enables sending of sms from your laravel | SMS library
kandi X-RAY | mnotify Summary
kandi X-RAY | mnotify Summary
This package enables sending of sms from your laravel application using mNotify.com as a service provider. The Voice feature will be added in future releases.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Return an error message
- Send SMS message
- Register the service provider .
- Boot the package .
- Set sender id
- Set SMS API key
- Get the facade accessor
mnotify Key Features
mnotify Examples and Code Snippets
# Basic sending(uses api_key set in .env file)
Sms::send('02XXXXXXXXX', 'Testing test');
# To use a different api key,
Sms::setApiKey('API_KEY_GOES_HERE')->send('0275799028', 'Testing App');
# To customise sender Id,
# NB: sender Id must not b
composer require patricpoba/mnotify
{
"require": {
"patricpoba/mnotify": "0.1.*"
}
}
composer update
Sms::balance();
# To check the balance using an api key different from the one set in the .env file,
Sms::setApiKey('API_KEY_GOES_HERE')->balance();
Community Discussions
Trending Discussions on mnotify
QUESTION
i am opening a activity when notification is clicked . notification is activated from a service class .i want to send data to new activity opened from notification i am using intent1.putExtra("lable",lable); but in new activity it is giving me nullpointer exeption.
...ANSWER
Answered 2019-May-21 at 10:38I use this code for send data to activity
.
QUESTION
It shows notification only on API below 26. It doesn't show notification above API 26.
I'm new here,and do i need to add channel to get notification, if so how to add the channel.
I'm new to programming, it would help if posted answers with full existing code. This is my RingtonePlayingService.java,thanks in advance.
...ANSWER
Answered 2018-Nov-15 at 12:52You have to call notify
after building Notification object as below.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install mnotify
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page