Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Set default ringtone as local notification sound

$
0
0

Am using 3.2.2 sdk, Alloys and developing app for iPhone. I am using scheduleNotification to schedule some notifications in my app and for it I need to play device default ringtone as local notifications sound. Is it possible and if so is there anyway to set it. As far I searched we can't set/access default ringtone of iOS.

notify.scheduleLocalNotification({
        alertBody: "Test",
        alertAction: "Launch",
        userInfo: {},
        sound: **default sound to place here**,
        date: new Date(new Date().getTime() + 10000) 
    });

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>