{"id":19943629,"url":"https://github.com/karibash/rxcorenfc","last_synced_at":"2025-05-03T15:33:03.947Z","repository":{"id":62453107,"uuid":"273222635","full_name":"Karibash/RxCoreNFC","owner":"Karibash","description":"RxSwift wrapper around the CoreNFC.","archived":false,"fork":false,"pushed_at":"2020-11-28T13:03:16.000Z","size":80,"stargazers_count":6,"open_issues_count":20,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-17T19:27:43.671Z","etag":null,"topics":["corenfc","felica","functional","ios","nfc","observer","reactive","reactivex","rxswift","swift","undirectional"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Karibash.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"Karibash"}},"created_at":"2020-06-18T11:41:03.000Z","updated_at":"2023-09-22T06:49:25.000Z","dependencies_parsed_at":"2022-11-01T23:45:56.083Z","dependency_job_id":null,"html_url":"https://github.com/Karibash/RxCoreNFC","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karibash%2FRxCoreNFC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karibash%2FRxCoreNFC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karibash%2FRxCoreNFC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karibash%2FRxCoreNFC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Karibash","download_url":"https://codeload.github.com/Karibash/RxCoreNFC/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252211736,"owners_count":21712454,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["corenfc","felica","functional","ios","nfc","observer","reactive","reactivex","rxswift","swift","undirectional"],"created_at":"2024-11-13T00:17:28.741Z","updated_at":"2025-05-03T15:33:03.609Z","avatar_url":"https://github.com/Karibash.png","language":"Swift","funding_links":["https://github.com/sponsors/Karibash"],"categories":[],"sub_categories":[],"readme":"# RxCoreNFC\n\n[![Swift](https://img.shields.io/badge/Swift-5.x-orange?style=flat\u0026logo=swift)](https://developer.apple.com/swift/)\n[![Release](https://img.shields.io/github/v/release/Karibash/RxCoreNFC?style=flat\u0026include_prereleases\u0026logo=github)](https://github.com/Karibash/RxCoreNFC/releases)\n[![Build](https://img.shields.io/github/workflow/status/Karibash/RxCoreNFC/CI?style=flat\u0026logo=github%20actions)](https://github.com/Karibash/RxCoreNFC/actions)\n[![CocoaPods](https://img.shields.io/cocoapods/v/RxCoreNFC?style=flat\u0026logo=cocoapods)](https://github.com/Karibash/RxCoreNFC#cocoapods)\n[![Carthage](https://img.shields.io/badge/Carthage-compatible-brightgreen?style=flat)](https://github.com/Karibash/RxCoreNFC#carthage)\n[![SwiftPM](https://img.shields.io/badge/SwiftPM-compatible-orange?style=flat)](https://github.com/Karibash/RxCoreNFC#swift-package-manager)\n[![Platform](https://img.shields.io/cocoapods/p/RxCoreNFC?style=flat\u0026logo=apple)](http://cocoapods.org/pods/RxCoreNFC)\n[![License](https://img.shields.io/github/license/Karibash/RxCoreNFC?style=flat)](https://github.com/Karibash/RxCoreNFC/blob/master/LICENSE)\n\n[![Github](https://img.shields.io/github/followers/Karibash?label=Follow\u0026logo=github\u0026style=social)](https://github.com/Karibash?tab=followers)\n[![Twitter](https://img.shields.io/twitter/follow/Karibash?label=Follow\u0026style=social)](https://twitter.com/intent/follow?screen_name=Karibash)\n\n## 🔧 Features\n\n- [ ] NFCTagReaderSession\n  - [x] NFCFeliCaTag\n  - [x] NFCMiFareTag\n  - [x] NFCISO7816Tag\n  - [ ] NFCISO15693Tag\n- [ ] NFCNDEFReaderSession\n- [ ] NFCVASReaderSession\n\n## ✔️ Requirements\n\n- iOS 11.0+\n- Xcode 9.0+\n- Swift 5.0+\n\n## 👏 Getting Started\n\nThe basic usage is as follows:\n\n```swift\nlet sessions = NFCTagReaderSession.rx.open(pollingOption: [.iso18092])\nlet tags = sessions.begin().tags().felicaTags()\nlet connectedTags = Observable.combineLatest(tags, sessions)\n    .flatMap { tag, session in session.connect(tag) }\n    .share()\n\nlet invalidates = connectedTags\n    .requestService(nodeCodeList: SERVICE_CODE_LIST)\n    .withLatestFrom(connectedTags)\n    .readWithoutEncryption(serviceCodeList: SERVICE_CODE_LIST, blockList: BLOCK_LIST })\n    .do(onNext: { result in\n        // Do something\n    })\n    .withLatestFrom(sessions)\n    .invalidate()\n    .first()\n\nbutton.rx.tap\n    .flatMapFirst { invalidates }\n    .subscribe()\n    .disposed(by: disposeBag)\n```\n\n## 🚀 Installation\n\n### CocoaPods\n\nYou can use [CocoaPods](http://cocoapods.org/) to install `RxCoreNFC` by adding it to your `Podfile`:\n\n```ruby\npod 'RxCoreNFC'\n```\n\n```\n$ pod install\n```\n\n### Carthage\n\nCreate a `Cartfile` that lists the framework and run `carthage update`. Follow the [instructions](https://github.com/Carthage/Carthage#if-youre-building-for-ios-tvos-or-watchos) to add `$(SRCROOT)/Carthage/Build/iOS/RxCoreNFC.framework` to an iOS project.\n\n```\ngithub \"Karibash/RxCoreNFC\"\n```\n\n```\n$ carthage update\n```\n\n### Swift Package Manager\n\nFile \u003e Swift Package \u003e Add Package Dependency... \u003e Enter package repository URL\n\n```\nhttps://github.com/Karibash/RxCoreNFC\n```\n\n## 🤝 Contributing\n\nContributions, issues and feature requests are welcome.\n\nFeel free to check [issues page](https://github.com/Karibash/RxCoreNFC/issues) if you want to contribute.\n\n## 📝 License\n\nCopyright © 2020 [@Karibash](https://twitter.com/karibash).\n\nThis project is [```MIT```](https://github.com/Karibash/RxCoreNFC/blob/master/LICENSE) licensed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaribash%2Frxcorenfc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaribash%2Frxcorenfc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaribash%2Frxcorenfc/lists"}