prafulla-codes/react-native-wifi-and-hotspot-wizard

Not able to build the project (^1.0.5-stable)

DEEPAKSINGHRAGHAV opened this issue ยท 17 comments

^1.0.5-stable issue:
After running the comman react-native run-android. The project buid fails with error:

dModule.java:28: error: package sun.security.ec.point.ProjectivePoint does not exist
import sun.security.ec.point.ProjectivePoint.Mutable;

dModule.java:108: warning: non-varargs call of varargs method with inexact argument type for last parameter;
int actualState = (Integer) method.invoke(wifi,null);

Execution failed for task ':react-native-wifi-and-hotspot-wizard:compileDebugJavaWithJavac'.

library

Hey, thank you for opening this issue, I will look into it and let you know

Please check the react-native version which you are using

I am using "react-native": "0.61.5"

image

@DEEPAKSINGHRAGHAV I have made some changes to the build.gradle files and also added automatic build to test the builds.

The builds are showing successful I would like you to test v1.0.6-beta.1 and let me know if your issue is resolved.

Hi @Pika1998 I have been able make build but, in react native still getting the same error as @DEEPAKSINGHRAGHAV mention above.

Hi sorry for the delay, i will look into it and get back to you

Hi @Pika1998 My issue is resolved. But I wanted to know something about hotspots ,
That in android level above Oreo will there be auto-generated ssid and password , can't I set them manually ?

I did actually want to do exactly that but for higher Android versions I don't think android allows us to do that.

I also did some searching for that , but everyone kept saying android restricts to do that.

Maybe it's a security feature that connections will need action points, like devices can't simply connect to wifi programmatically.

yes right

@harshdeep-jft do feel free to contribute if you find a way to do that ๐Ÿ˜

yes ofcourse I would love to.๐Ÿš€

Hi @harshdeep-jft , with this can i confirm that we are now able to build the project in v1.0.6-beta.1 and release it as a stable build?

Closing this issue as of now

Feel free to re-open this issue in case anyone feels it is not yet resolved.