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
7c0e6652
Commit
7c0e6652
authored
Apr 13, 2020
by
井庆林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
埋点库修改版本号
parent
1367b35b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
GMViewController.m
Example/GMPhobos/GMViewController.m
+7
-2
GMPhobos.podspec
GMPhobos.podspec
+1
-1
PhobosConfig.h
GMPhobos/Classes/PhobosConfig.h
+1
-1
No files found.
Example/GMPhobos/GMViewController.m
View file @
7c0e6652
...
@@ -66,9 +66,14 @@ NSString *const MockCityId = @"beijing";
...
@@ -66,9 +66,14 @@ NSString *const MockCityId = @"beijing";
// [Phobos track:@"page_view" attributes:dict];
// [Phobos track:@"page_view" attributes:dict];
// array = [GMCache fetchObjectAtDocumentPathWithkey:PhobosCacheKey];
// array = [GMCache fetchObjectAtDocumentPathWithkey:PhobosCacheKey];
for
(
int
i
=
0
;
i
<
1
0
;
i
++
)
{
for
(
int
i
=
0
;
i
<
20
0
;
i
++
)
{
[
Phobos
track
:[
NSString
stringWithFormat
:
@"tt-%d"
,
i
]
attributes
:
dict
sendNow
:
YES
];
[
Phobos
track
:[
NSString
stringWithFormat
:
@"tt-%d"
,
i
]
attributes
:
dict
sendNow
:
YES
];
[
Phobos
track
:[
NSString
stringWithFormat
:
@"pv-%d"
,
i
]
attributes
:
dict
sendNow
:
YES
];
[
Phobos
track
:[
NSString
stringWithFormat
:
@"pv-%d"
,
i
]
attributes
:
dict
sendNow
:
(
arc4random
()
%
2
==
0
)];
}
for
(
int
i
=
5
;
i
<
5
;
i
++
)
{
dispatch_async
(
dispatch_get_global_queue
(
0
,
0
),
^
{
[
Phobos
track
:[
NSString
stringWithFormat
:
@"ay-%d"
,
i
]
attributes
:
dict
sendNow
:
YES
];
});
}
}
}
}
...
...
GMPhobos.podspec
View file @
7c0e6652
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
Pod
::
Spec
.
new
do
|
s
|
Pod
::
Spec
.
new
do
|
s
|
s
.
name
=
"
GMPhobos
"
s
.
name
=
"
GMPhobos
"
s
.
version
=
"2.0.
3
"
s
.
version
=
"2.0.
4
"
s
.
summary
=
"GM statistic data sdk"
s
.
summary
=
"GM statistic data sdk"
s
.
description
=
<<-
DESC
s
.
description
=
<<-
DESC
...
...
GMPhobos/Classes/PhobosConfig.h
View file @
7c0e6652
...
@@ -16,7 +16,7 @@ typedef NS_ENUM (NSInteger, PhobosSigningType) {
...
@@ -16,7 +16,7 @@ typedef NS_ENUM (NSInteger, PhobosSigningType) {
PhobosSigningTypeDebug
PhobosSigningTypeDebug
};
};
static
NSString
*
sdkVersion
=
@"2.0.
3
"
;
static
NSString
*
sdkVersion
=
@"2.0.
4
"
;
#ifdef DEBUG
#ifdef DEBUG
#define phobosLog(...) NSLog(@"[Phobos] %@",__VA_ARGS__)
#define phobosLog(...) NSLog(@"[Phobos] %@",__VA_ARGS__)
...
...
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