Closed Bug 1150372 Opened 9 years ago Closed 9 years ago

Add nfc feature checkbox in App Minimum Requirements

Categories

(Marketplace Graveyard :: Developer Pages, enhancement, P3)

Avenir
x86_64
Linux
enhancement

Tracking

(Not tracked)

VERIFIED FIXED
2015-04-21

People

(Reporter: allstars.chh, Assigned: mat)

Details

When I submit an NFC App to marketplace, I notice that in the "App Minimimum Requirements" section, there's no checkbox for NFC API. (NFC becomes priviledge in Bug 1082475).
Hi mat
Do you know where the code is?
I cannot find it.   :P

Thanks
Flags: needinfo?(mpillard)
The code that will make the checkbox appear is in https://github.com/mozilla/zamboni/ , mainly in mkt/constants/features.py

Couple gotchas:
- You also need to bump the APP_FEATURES_VERSION number in settings

- You also need to detect that feature in Marketplace consumer side, which can be tricky to do if you are not familiar with that code. It lives in https://github.com/mozilla/fireplace/ , mainly in package/iframe/main.js and in src/media/js/compat_filter.js
Flags: needinfo?(mpillard)
Assignee: nobody → mpillard
Severity: normal → enhancement
Priority: -- → P3
Status: NEW → ASSIGNED
https://github.com/mozilla/zamboni/pull/3026 will take care of the zamboni part
Fixed in https://github.com/mozilla/zamboni/commit/a3084805bc2ab014abbc73d3532f5ec269aa661b (will land in production next Tuesday)

The consumer pages side isn't done yet (need to file another bug for that), but at least the developers will be able to set the feature requirement.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2015-04-21
Verified as fixed in FF40(Win7) in marketplace-dev.allizom.org
Postfix screencast: http://screencast.com/t/teL1tpqk  http://screencast.com/t/NNGgujrk
Closing bug.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.