First alpha release ()

* added __version__ to main.py
* package name changed from io.lbry.lbrynet to io.lbry.browser
* removed unnecessary WRITE_EXTERNAL_STORAGE permission from AndroidManifest template, buildozer.spec updates and some cleanup
This commit is contained in:
akinwale 2018-03-31 10:28:26 +01:00 committed by GitHub
parent c9d8fa1e85
commit 76dee67e9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
298 changed files with 43 additions and 40521 deletions
src/main/java/io/lbry/lbrynet/reactmodules

View file

@ -1,31 +0,0 @@
package io.lbry.lbrynet.reactmodules;
import android.app.Activity;
import android.content.Context;
import android.content.pm.ActivityInfo;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactContextBaseJavaModule;
import com.facebook.react.bridge.ReactMethod;
import io.lbry.lbrynet.LbrynetService;
import io.lbry.lbrynet.ServiceHelper;
public class DaemonServiceControlModule extends ReactContextBaseJavaModule {
private Context context;
public DaemonServiceControlModule(ReactApplicationContext reactContext) {
super(reactContext);
this.context = reactContext;
}
@Override
public String getName() {
return "DaemonServiceControl";
}
@ReactMethod
public void stopService() {
ServiceHelper.stop(context, LbrynetService.class);
}
}