Skip to content

Commit

Permalink
Detect devices for exist brands: Oppo, OnePlus, Samsung (#7499)
Browse files Browse the repository at this point in the history
* feat: detect app WeRead
feat: detect device brand OnePlus: 11 (CPH2451), Nord 3 5G (CPH2491), Nord N30 5G (CPH2513, CPH2515), Nord N300 5G (CPH2389)
feat: detect device brand OPPO: CNM632, Find N3 Flip (CPH2519), Reno 10 Pro+ 5G (CPH2521), Reno 9 A (CPH2523, A301OP)

* feat: detect device brand OnePlus: Open (CPH2551), Nord CE 3 5G (CPH2569)
feat: detect device brand Samsung: Galaxy A54 5G (SCG21)
feat: detect device brand OPPO: A18 (CPH2591), Reno 10 Pro 5G (CPH2525, PHV110), A98 5G (CPH2529), A38 (CPH2579), K11 5G (PJC110)

* feat: detect device brand Wigor: V3

* feat: detect device brand Fujitsu: Arrows Tab F-01D, Arrows X F-10D, Arrows V F-04E, Raku-Raku Smartphone F-12D

* fix test
  • Loading branch information
sanchezzzhak authored Nov 14, 2023
1 parent 2357f77 commit 001a2bb
Show file tree
Hide file tree
Showing 8 changed files with 504 additions and 36 deletions.
6 changes: 6 additions & 0 deletions Tests/Parser/Client/fixtures/mobile_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1553,3 +1553,9 @@
type: mobile app
name: Apple TV
version: ""
-
user_agent: Mozilla/5.0 (iPad; CPU OS 12_3_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148;WeRead/4.1.3 (iPad; iOS 12.3.1; Scale/2.00)
client:
type: mobile app
name: WeRead
version: 4.1.3
2 changes: 1 addition & 1 deletion Tests/fixtures/smartphone-11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7045,7 +7045,7 @@
device:
type: smartphone
brand: Realme
model: "3"
model: "U1"
os_family: Android
browser_family: Chrome
-
Expand Down
Loading

0 comments on commit 001a2bb

Please # to comment.