Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
GMPhobos
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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
GMPhobos
Commits
eb165a7c
Commit
eb165a7c
authored
Oct 17, 2016
by
翟国钧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设备激活埋点device_activated增加一次非实时上传的策略
parent
b6748b3d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
Phobos.m
Pod/Classes/Phobos.m
+1
-0
No files found.
Pod/Classes/Phobos.m
View file @
eb165a7c
...
@@ -83,6 +83,7 @@ static NSString *sdkVersion = @"110";
...
@@ -83,6 +83,7 @@ static NSString *sdkVersion = @"110";
/** 第一次打开APP埋点 **/
/** 第一次打开APP埋点 **/
if
(
!
[
cache
fetchObjectAtDiskWithkey
:
PhobosHaveOpenApp
])
{
if
(
!
[
cache
fetchObjectAtDiskWithkey
:
PhobosHaveOpenApp
])
{
[
Phobos
track
:
@"device_activated"
attributes
:@{}
sendNow
:
YES
];
[
Phobos
track
:
@"device_activated"
attributes
:@{}
sendNow
:
YES
];
[
Phobos
track
:
@"device_activated"
attributes
:@{}
sendNow
:
NO
];
[
cache
storeObjectAtDiskWithkey
:
PhobosHaveOpenApp
object
:
PhobosHaveOpenApp
];
[
cache
storeObjectAtDiskWithkey
:
PhobosHaveOpenApp
object
:
PhobosHaveOpenApp
];
}
}
}
}
...
...
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