Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

Commit

Permalink
Revert "Bump to 2.0.0, update README"
Browse files Browse the repository at this point in the history
  • Loading branch information
zlern2k authored Sep 16, 2016
1 parent ac6b9ec commit d4042fa
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 21 deletions.
6 changes: 1 addition & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
Change Log
==========

## Version 2.0.0

* New classification model.

## Version 1.0.1

_2015-04-02_
Expand All @@ -16,4 +12,4 @@ _2015-04-02_

_2015-03-25_

* Initial release.
* Initial release.
27 changes: 13 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,32 @@ application behavior based on the capabilities of the phone's hardware.

![Most Popular Devices by Year Class](https://github.com/facebook/device-year-class/raw/master/docs/images/popular_devices_by_year_class.png)

Mappings as of this writing (RAM is a ceiling):
Mappings as of this writing (ceilings, aside from the final row):

|Year| Cores| Clock | RAM |
|---:|------:|-------:|-----:|
|2008| 1 | 528MHz| 192MB|
|2009| n/a | 600MHz| 290MB|
|2010| n/a | 1.0GHz| 512MB|
|2011| 2 | 1.2GHz| 1GB|
|2012| 4 | 1.5GHz| 1.5GB|
|2013| n/a | 2.0GHz| 2GB|
|2014| n/a | >2GHz| >2GB|

| RAM | condition | Year Class |
|----:|----------:|-----------:|
|768MB| 1 core | 2009 |
| | 2+ cores | 2010 |
| 1GB| <1.3GHz | 2011 |
| | 1.3GHz+ | 2012 |
|1.5GB| <1.8GHz | 2012 |
| | 1.8GHz+ | 2013 |
| 2GB| | 2013 |
| 3GB| | 2014 |
| more| | 2015 |

## Integration

### Download
Download [the latest JARs](https://github.com/facebook/device-year-class/releases/latest) or grab via Gradle:
```groovy
compile 'com.facebook.device.yearclass:yearclass:2.0.0'
compile 'com.facebook.device.yearclass:yearclass:1.0.1'
```
or Maven:
```xml
<dependency>
<groupId>com.facebook.device.yearclass</groupId>
<artifactId>yearclass</artifactId>
<version>2.0.0</version>
<version>1.0.1</version>
</dependency>
```

Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
VERSION_NAME=2.0.0
GROUP=com.facebook.device.yearclass
VERSION_NAME=1.0.1
GROUP=com.facebook.device.yearclass

0 comments on commit d4042fa

Please sign in to comment.