Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add locking of tags. #6

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Add locking of tags. #6

wants to merge 6 commits into from

Conversation

RoopeHakulinen
Copy link
Owner

Closes #5.

README.md Outdated Show resolved Hide resolved
@RoopeHakulinen
Copy link
Owner Author

@gjuchault Would you mind checking this and I get it published :)

@gjuchault
Copy link
Contributor

I'll try this week-end :)

Copy link
Contributor

@lonk lonk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey ! As @gjuchault is pretty busy at this time, I just tried to test the PR but I'm not able to compile it !

src/android/CordovaPluginMifareUltralight.java Outdated Show resolved Hide resolved
www/cordova-plugin-mifare-ultralight.js Outdated Show resolved Hide resolved
@RoopeHakulinen
Copy link
Owner Author

@lonk omg. How silly of me. I didn't have the tools easily available to compile it back then (I use PhoneGap Build). Thus, the syntax errors. Fixed all of those now and merged also the latest master in. Could you please try again.

Copy link
Contributor

@lonk lonk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since you merged my changes, pin is no longer an int ! I'll try this as soon as @beta has the changes :)

src/android/MifareUltralight.java Outdated Show resolved Hide resolved
src/android/MifareUltralight.java Outdated Show resolved Hide resolved
src/android/CordovaPluginMifareUltralight.java Outdated Show resolved Hide resolved
src/android/CordovaPluginMifareUltralight.java Outdated Show resolved Hide resolved
@RoopeHakulinen
Copy link
Owner Author

Hey. Fixed those too! It should be available now with beta tag in npm: https://www.npmjs.com/package/cordova-plugin-mifare-ultralight

@lonk
Copy link
Contributor

lonk commented Feb 7, 2019

It looks like 1.1.0 hasn't been updated, according to npm !

@RoopeHakulinen
Copy link
Owner Author

Hmm.. it shows up there in npm 🤔

@RoopeHakulinen
Copy link
Owner Author

There's now 1.1.1 marked as beta. I've got no clue how the npm publishing works..

// 3. Read the protection page to be able to only modify certain bits and then write it again
response = mifare.readPages(protectionPage);
if ((response != null) && (response.length >= 16)) {
data = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got a an error just here at compilation:
error: illegal start of expression data = {
I'm not a Java developper so I don't know how to fix it actually :/
Maybe by modifying each entry on the array like data[0] = foo, data[1] = bar, etc .?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tried that with beta release 1.1.2.. :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got the exact same issue on line 75 ! (sorry for the delay, I'm working at Disneyland on weekends so I'm too exhausted to code after my shift :'))

Copy link
Owner Author

@RoopeHakulinen RoopeHakulinen Feb 12, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I should've probably checked that too.. Fixed now in beta release 1.1.3 (I wish I understood the npm publishing as 1.1.0-beta.0 was not a valid semver according to npm).

Take your time. I don't need this feature myself nor do I use the plugin really nowadays :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here are the last errors I get: https://pastebin.com/pgX12tTf

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1.1.4 available :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants