Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local onButtonEvent = function (event )
- system.vibrate()
- end
- This is my build.settings
- -- Supported values for orientation:
- -- portrait, portraitUpsideDown, landscapeLeft, landscapeRight
- settings = {
- orientation = {
- default = "portrait",
- supported = { "portrait", }
- },
- iphone = {
- plist = {
- UIStatusBarHidden = false,
- UIPrerenderedIcon = true, -- set to false for "shine" overlay
- --UIApplicationExitsOnSuspend = true, -- uncomment to quit app on suspend
- --[[
- -- iOS app URL schemes:
- CFBundleURLTypes =
- {
- {
- CFBundleURLSchemes =
- {
- "fbXXXXXXXXXXXXXX", -- example scheme for facebook
- "coronasdkapp", -- example second scheme
- }
- }
- }
- --]]
- }
- },
- --[[
- -- Android permissions
- android =
- {
- versionCode = "1",
- permissions =
- {
- { name = ".permission.C2D_MESSAGE", protectionLevel = "signature" },
- },
- usesPermissions =
- {
- "android.permission.VIBRATE"
- },
- },
- ]]--
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement