-
Notifications
You must be signed in to change notification settings - Fork 19
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
Make Java methods public? #19
Comments
Thanks, @BorntraegerMarc, Instead of making the plugin method static, we can provide a Util class where all the methods will be static. |
that's a good idea @pandiarajan-i2i you want me to create a PR? |
Thanks for your contribution, @BorntraegerMarc We will add these changes along with the swift version(s) support changes. |
OK. Tell me if I can help in any way :) |
@BorntraegerMarc , Could you please check this functionality for swift? |
you mean for me to provide a PR to have static methods in swift? |
it may be a pull request or can you confirm whether it's already available as public. |
@pandiarajan-i2i so I think these changes need to happen to be able to fully share the code with 3rd parties:
Because without these helper methods we had to manually copy these attributes: https://github.com/Ideas2IT/cordova-aes256/blob/master/src/ios/AES256.swift#L3-L5 tell me if I can help somehow |
Yah you are welcome. If possible we can address the swift versions issues and will add this static method implementation later. Because, Whenever the new updates to the iOS/Xcode they have removed the support for the previous swift versions. It indirectly forces the previous code implementations. If we do find some effective solutions then it will be helpful. |
@MukundhanSampath Can you please update your changes? |
any progress on this? :) let me know if you need some help... |
What do you think of the idea to make all methods public & static from this class: https://github.com/BorntraegerMarc/cordova-aes256/blob/master/src/android/AES256.java
I could provide a PR.
The benefit would be that we could use the same class for our custom plugin without needing to manually copy & paste the code. Since we need to do something custom with encryption in our native plugin.
The text was updated successfully, but these errors were encountered: