-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin_appodeal.lua
54 lines (40 loc) · 1.27 KB
/
plugin_appodeal.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
-- Appodeal plugin
local Library = require "CoronaLibrary"
-- Create library
local lib = Library:new{ name="plugin.appodeal", publisherId="com.coronalabs", version=4 }
-------------------------------------------------------------------------------
-- BEGIN
-------------------------------------------------------------------------------
-- This sample implements the following Lua:
--
-- local appodeal = require "plugin.appodeal"
-- appodeal.init()
--
local function showWarning(functionName)
print( functionName .. " WARNING: The Appodeal plugin is only supported on Android and iOS devices. Please build for device")
end
function lib.init()
showWarning("appodeal.init()")
end
function lib.show()
showWarning("appodeal.show()")
end
function lib.hide()
showWarning("appodeal.hide()")
end
function lib.load()
showWarning("appodeal.load()")
end
function lib.isLoaded()
showWarning("appodeal.isLoaded()")
end
function lib.setUserDetails()
showWarning("appodeal.setUserDetails()")
end
function lib.getRewardParameters()
showWarning("appodeal.getRewardParameters()")
end
-------------------------------------------------------------------------------
-- END
-------------------------------------------------------------------------------
return lib