cordova-plugin-sms
cordova-plugin-sms copied to clipboard
Paginate listSMS results
Hello. Thank you for the plugin. Very promising. I have an issue. I am failing to get desired results with the indexFrom and maxCount fields.
With indexFrom = 0, and maxCount = 1000, I was able to get 65messages under inbox. Everything works fine with indexFrom = 0. When I set it to any other value, it doesn't work.
My function below is supposed to paginate the results through iteration.
It runs well for the first iteration (of course when indexFrom = 0 )
However, the moment it ceases to be 0, no results are fetched. As shown in the console below.
Any assistance in regard to this matter will be highly appreciated