There was no option to enable wifi and mobile data in oreo.
To fix this I removed
sharedUserId flag from manifest File. This will let system treat eDrive like normal app and all options will be available in eDrive app settings( like enable/disable mobile data, wifi, unrestricted data usage etc).
But this has some drawback too. Now we cannot be able to read
system/users/0 partition. This means we cannot sync
rom settings *.xml files.
For this we have to manually read all settings and write it in a file and than sync that file with eCloud. And for restoring the settings we have to read values from that file.