Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
L
LuckFarm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lmj
LuckFarm
Commits
fdd158ee
Commit
fdd158ee
authored
Nov 13, 2020
by
Mazy
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'refs/remotes/origin/master'
parents
923ce3e7
0540d8db
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
project.pbxproj
GYDemo/GYDemo.xcodeproj/project.pbxproj
+2
-2
AppDelegate.mm
GYDemo/GYDemo/AppDelegate.mm
+4
-0
IOSADManager.m
GYDemo/GYDemo/SCAds/IOSADManager.m
+3
-0
No files found.
GYDemo/GYDemo.xcodeproj/project.pbxproj
View file @
fdd158ee
...
...
@@ -1003,7 +1003,7 @@
CODE_SIGN_ENTITLEMENTS
=
GYDemo/GYDemo.entitlements
;
CODE_SIGN_IDENTITY
=
"iPhone Developer"
;
CODE_SIGN_STYLE
=
Manual
;
CURRENT_PROJECT_VERSION
=
1
14
;
CURRENT_PROJECT_VERSION
=
1
05
;
DEVELOPMENT_TEAM
=
XWMRLLSSFL
;
ENABLE_BITCODE
=
NO
;
GCC_INCREASE_PRECOMPILED_HEADER_SHARING
=
NO
;
...
...
@@ -1035,7 +1035,7 @@
CODE_SIGN_ENTITLEMENTS
=
GYDemo/GYDemo.entitlements
;
CODE_SIGN_IDENTITY
=
"iPhone Developer"
;
CODE_SIGN_STYLE
=
Manual
;
CURRENT_PROJECT_VERSION
=
1
14
;
CURRENT_PROJECT_VERSION
=
1
05
;
DEVELOPMENT_TEAM
=
XWMRLLSSFL
;
ENABLE_BITCODE
=
NO
;
GCC_INCREASE_PRECOMPILED_HEADER_SHARING
=
NO
;
...
...
GYDemo/GYDemo/AppDelegate.mm
View file @
fdd158ee
...
...
@@ -556,6 +556,8 @@ NSDictionary* appLaunchOpts;
- (void)ios_adRedPackPlan {
WEAKSELF
[IOSADManager shareADManager].advertisingSpace = @"break_the_red_envelope";
[[IOSADManager shareADManager] showADType:ADType_Video resultBlock:^(BOOL success) {
if (success) {
[[CGNetworkTools shared] postWithAction:open_plant_box parameters:@{} success:^(id _Nonnull response) {
...
...
@@ -623,6 +625,8 @@ NSDictionary* appLaunchOpts;
- (void)gainMultipleAward: (NSString *)sid {
// 播放视频
WEAKSELF
[IOSADManager shareADManager].advertisingSpace = @"double_red_envelope";
[[IOSADManager shareADManager] showADType:ADType_Video resultBlock:^(BOOL success) {
if (success) {
[[CGNetworkTools shared] postWithAction:awardMultiple parameters:@{@"sid": sid} success:^(id _Nonnull response) {
...
...
GYDemo/GYDemo/SCAds/IOSADManager.m
View file @
fdd158ee
...
...
@@ -405,6 +405,9 @@ static IOSADManager * manager = nil;
if
(
adType
==
ADType_Video
)
{
// 视频
NSLog
(
@">>>>>>> 正在播放 成功 平台 = %@ ID = %@ type =%@ <<<<<<<<<"
,
showData
.
adPlatform
,
showData
.
codeId
,
showData
.
slotName
);
WEAKSELF
;
if
(
self
.
advertisingSpace
)
{
[[
CGUserManager
shared
]
addADLocCollection
:
self
.
advertisingSpace
value
:
@"show_reward_video_ad"
andADData
:
showData
];
}
dispatch_async
(
dispatch_get_main_queue
(),
^
{
if
([
showData
.
adPlatform
isEqualToString
:
@"chuanshanjia"
])
{
[
weakSelf
.
csjAd
showAdWithData
:
showData
withADType
:
adType
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment