I am using react-native 0.62.3, due to some reasons I cannot upgrade my react-native version. After updating my sdk version to 34 and doing changes in mainapplication.java. I am getting error for "Context.RECEIVER_EXPORTED".
My MainApplication.java
package guru.fan.invimaticconvention;
import android.app.Application;
import android.content.Context;
import com.bugsnag.BugsnagReactNative;
import com.crashlytics.android.Crashlytics;
import com.facebook.CallbackManager;
import com.facebook.drawee.backends.pipeline.Fresco;
import com.facebook.react.PackageList;
import com.facebook.react.ReactApplication;
import com.facebook.react.ReactInstanceManager;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import com.facebook.soloader.SoLoader;
import com.sudoplz.reactnativeamplitudeanalytics.RNAmplitudeSDKPackage;
import java.lang.reflect.InvocationTargetException;
import java.util.List;
import guru.fan.invimaticconvention.pdf.PdfViewPackage;
import io.branch.referral.Branch;
import io.fabric.sdk.android.Fabric;
//import io.invertase.firebase.RNFirebasePackage;
//import io.invertase.firebase.analytics.RNFirebaseAnalyticsPackage;
//import io.invertase.firebase.instanceid.RNFirebaseInstanceIdPackage;
//import io.invertase.firebase.messaging.RNFirebaseMessagingPackage;
//import io.invertase.firebase.notifications.RNFirebaseNotificationsPackage;
//import io.invertase.firebase.perf.RNFirebasePerformancePackage;
import android.content.BroadcastReceiver;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Build;
import org.jetbrains.annotations.Nullable;
public class MainApplication extends Application implements ReactApplication {
private static CallbackManager mCallbackManager = CallbackManager.Factory.create();
protected static CallbackManager getCallbackManager() {
return mCallbackManager;
}
private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
@Override
public boolean getUseDeveloperSupport() {
  return BuildConfig.DEBUG;
}

@Override
protected List<ReactPackage> getPackages() {
  @SuppressWarnings("UnnecessaryLocalVariable")
  List<ReactPackage> packages = new PackageList(this).getPackages();
  packages.add(new RNAmplitudeSDKPackage(MainApplication.this));

//      packages.add(new RNFirebaseNotificationsPackage());
//      packages.add(new RNFirebaseMessagingPackage());
//      packages.add(new RNFirebaseAnalyticsPackage());
//      packages.add(new RNFirebasePerformancePackage());
//      packages.add(new RNFirebaseInstanceIdPackage());
packages.add(new PdfViewPackage());
return packages;
}
@Override
protected String getJSMainModuleName() {
  return "index";
}

};
@Override
public ReactNativeHost getReactNativeHost() {
return mReactNativeHost;
}
@Override
public Intent registerReceiver(@Nullable BroadcastReceiver receiver, IntentFilter filter) {
if (Build.VERSION.SDK_INT >= 34 && getApplicationInfo().targetSdkVersion >= 34) {
return super.registerReceiver(receiver, filter, Context.RECEIVER_EXPORTED);
} else {
return super.registerReceiver(receiver, filter);
}
}
@Override
public void onCreate() {
super.onCreate();
Fresco.initialize(this);
Fabric.with(this, new Crashlytics());
Branch.getAutoInstance(this);
BugsnagReactNative.start(this);
SoLoader.init(this, /* native exopackage */ false);
initializeFlipper(this, getReactNativeHost().getReactInstanceManager());
}
/**

Loads Flipper in React Native templates. Call this in the onCreate method with something like
initializeFlipper(this, getReactNativeHost().getReactInstanceManager());

@param context
@param reactInstanceManager
/
private static void initializeFlipper(
Context context, ReactInstanceManager reactInstanceManager) {
if (BuildConfig.DEBUG) {
try {
/
We use reflection here to pick up the class that initializes Flipper,
since Flipper library is not available in release mode
*/
Class<?> aClass = Class.forName("com.rndiffapp.ReactNativeFlipper");
aClass
.getMethod("initializeFlipper", Context.class, ReactInstanceManager.class)
.invoke(null, context, reactInstanceManager);
} catch (ClassNotFoundException e) {
e.printStackTrace();
} catch (NoSuchMethodException e) {
e.printStackTrace();
} catch (IllegalAccessException e) {
e.printStackTrace();
} catch (InvocationTargetException e) {
e.printStackTrace();
}
}
}
}

My app/build.gradle
def nodeModules = "$rootDir/../../../node_modules"
apply plugin: "com.android.application"
apply plugin: 'io.fabric'
// apply plugin: "com.google.firebase.firebase-perf"
repositories {
maven { url 'https://maven.fabric.io/public' }
google()
}
import com.android.build.OutputFile
//import com.google.gms.googleservices.GoogleServicesPlugin
/**

The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets
and bundleReleaseJsAndAssets).
These basically call react-native bundle with the correct arguments during the Android build
cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the
bundle directly from the development server. Below you can see all the possible configurations
and their defaults. If you decide to add a configuration block, make sure to add it before the
apply from: "../../node_modules/react-native/react.gradle" line.

project.ext.react = [
// the name of the generated asset file containing your JS bundle
bundleAssetName: "index.android.bundle",

// the entry file for bundle generation. If none specified and
// "index.android.js" exists, it will be used. Otherwise "index.js" is
// default. Can be overridden with ENTRY_FILE environment variable.
entryFile: "index.android.js",

// whether to bundle JS and assets in debug mode
bundleInDebug: false,

// whether to bundle JS and assets in release mode
bundleInRelease: true,

// whether to bundle JS and assets in another build variant (if configured).
// See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants
// The configuration property can be in the following formats
//         'bundleIn${productFlavor}${buildType}'
//         'bundleIn${buildType}'
// bundleInFreeDebug: true,
// bundleInPaidRelease: true,
// bundleInBeta: true,

// whether to disable dev mode in custom build variants (by default only disabled in release)
// for example: to disable dev mode in the staging build type (if configured)
devDisabledInStaging: true,
// The configuration property can be in the following formats
//         'devDisabledIn${productFlavor}${buildType}'
//         'devDisabledIn${buildType}'

// the root of your project, i.e. where "package.json" lives
root: "../../",

// where to put the JS bundle asset in debug mode
jsBundleDirDebug: "$buildDir/intermediates/assets/debug",

// where to put the JS bundle asset in release mode
jsBundleDirRelease: "$buildDir/intermediates/assets/release",

// where to put drawable resources / React Native assets, e.g. the ones you use via
// require('./image.png')), in debug mode
resourcesDirDebug: "$buildDir/intermediates/res/merged/debug",

// where to put drawable resources / React Native assets, e.g. the ones you use via
// require('./image.png')), in release mode
resourcesDirRelease: "$buildDir/intermediates/res/merged/release",

// by default the gradle tasks are skipped if none of the JS files or assets change; this means
// that we don't look at files in android/ or ios/ to determine whether the tasks are up to
// date; if you have any other folders that you want to ignore for performance reasons (gradle
// indexes the entire tree), add them here. Alternatively, if you have JS files in android/
// for example, you might want to remove it from here.
inputExcludes: ["android/", "ios/"],

// override which node gets called and with what additional arguments
nodeExecutableAndArgs: ["node"],

// supply additional arguments to the packager
extraPackagerArgs: []
]
*/

project.ext.react = [
enableHermes: false,
hermesCommand: "$nodeModules/hermesvm/%OS-BIN%/hermes",
]
apply from: "$nodeModules/react-native/react.gradle"
/**

Set this to true to create two separate APKs instead of one:

An APK that only works on ARM devices

An APK that only works on x86 devices

The advantage is the size of the APK is reduced by about 4MB.
Upload all the APKs to the Play Store and people will download
the correct one based on the CPU architecture of their device.
*/
def enableSeparateBuildPerCPUArchitecture = false

/**

Run Proguard to shrink the Java bytecode in release builds.
*/
def enableProguardInReleaseBuilds = false

/**

The preferred build flavor of JavaScriptCore.

For example, to use the international variant, you can use:
def jscFlavor = 'org.webkit:android-jsc-intl:+'

The international variant includes ICU i18n library and necessary data
allowing to use e.g. Date.toLocaleString and String.localeCompare that
give correct results when using with locales other than en-US.  Note that
this variant is about 6MiB larger per architecture than default.
/
def jscFlavor = 'org.webkit:android-jsc-intl:+'
// def jscFlavor = 'org.webkit:android-jsc:+'
/*
Whether to enable the Hermes VM.

This should be set on project.ext.react and mirrored here.  If it is not set
on project.ext.react, JavaScript will not be compiled to Hermes Bytecode
and the benefits of using Hermes will therefore be sharply reduced.
*/
def enableHermes = project.ext.react.get("enableHermes", false);

android {
//https://github.com/wonday/react-native-pdf#installation
packagingOptions {
pickFirst '/x86/libc++_shared.so'
pickFirst '/x86_64/libjsc.so'
pickFirst '/arm64-v8a/libjsc.so'
pickFirst '/arm64-v8a/libc++_shared.so'
pickFirst '/x86_64/libc++_shared.so'
pickFirst '/armeabi-v7a/libc++_shared.so'
pickFirst '/x86/libjsc.so'
pickFirst '/armeabi-v7a/libjsc.so'
}
compileSdkVersion rootProject.ext.compileSdkVersion

compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8
}

sourceSets.main {
    jni.srcDirs = []
}

defaultConfig {
    applicationId "guru.fan.invimaticconvention"
    minSdkVersion rootProject.ext.minSdkVersion
    targetSdkVersion rootProject.ext.targetSdkVersion
    multiDexEnabled true
    versionCode 314
    versionName "2.23.98"

    ndk {
        abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64'
    }
    // Add these lines below the existing config
    renderscriptTargetApi 23
    renderscriptSupportModeEnabled true
    vectorDrawables.useSupportLibrary = true

    testBuildType System.getProperty('testBuildType', 'debug')  // This will later be used to control the test apk build type
    testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

    resConfigs "en"

    // https://react-native-iap.dooboolab.com/docs/installing
    missingDimensionStrategy 'store', 'play'
}
signingConfigs {
    release {
        if (project.hasProperty('MYAPP_RELEASE_STORE_FILE')) {
            storeFile file(MYAPP_RELEASE_STORE_FILE)
            storePassword MYAPP_RELEASE_STORE_PASSWORD
            keyAlias MYAPP_RELEASE_KEY_ALIAS
            keyPassword MYAPP_RELEASE_KEY_PASSWORD
        }
    }
}
splits {
    abi {
        reset()
        enable enableSeparateBuildPerCPUArchitecture
        universalApk false  // If true, also generate a universal APK
        include "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
    }
}
buildTypes {
    release {
        minifyEnabled enableProguardInReleaseBuilds
        proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
        signingConfig signingConfigs.release
    }
}
// applicationVariants are e.g. debug, release
applicationVariants.all { variant ->
    variant.outputs.each { output ->
        // For each separate APK per architecture, set a unique version code as described here:
        // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
        def versionCodes = ["armeabi-v7a": 1, "x86": 2, "arm64-v8a": 3, "x86_64": 4]
        def abi = output.getFilter(OutputFile.ABI)
        if (abi != null) {  // null for the universal-debug, universal-release variants
            output.versionCodeOverride =
                    versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
        }
        // apk name should be like: fanguru-app-1.0
        // update defaultConfig versionName name to this to work fine
        //output.outputFile = new File(output.outputFile.parent,
        //        "guru-fan-app-${variant.versionName}.apk")
    }
}
dexOptions {
    javaMaxHeapSize "4g"
    preDexLibraries = false
}
compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8
}

}
android {
defaultConfig {
multiDexEnabled true
missingDimensionStrategy 'react-native-camera', 'general'
testBuildType System.getProperty('testBuildType', 'debug')  // This will later be used to control the test apk build type
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
}
lintOptions {
checkReleaseBuilds false
// Or, if you prefer, you can continue to check for errors in release builds,
// but continue the build even when errors are found:
abortOnError false
}
}
crashlytics {
enableNdk false
}
dependencies {
if (enableHermes) {
def hermesPath = "$nodeModules/hermes-engine/android/";
debugImplementation files(hermesPath + "hermes-debug.aar")
releaseImplementation files(hermesPath + "hermes-release.aar")
} else {
implementation jscFlavor
}
def multidex_version = "2.0.1"                                  //Line added to resolve error while creating apk/aab
implementation "androidx.multidex:multidex:$multidex_version"   //Line added to resolve error while creating apk/aab

implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "com.android.billingclient:billing:5.0.0"
implementation 'com.facebook.react:react-native'

// https://github.com/SudoPlz/react-native-amplitude-analytics#android-manual-installation
implementation 'com.amplitude:android-sdk:2.19.1' // native sdk of amplitude
implementation project(':react-native-amplitude-analytics')

// Firebase dependencies
// https://rnfirebase.io/docs/v5.x.x/installation/android#3.-Add-Firebase-modules
// implementation project(':react-native-firebase')
// implementation "com.google.android.gms:play-services-base:17.0.1"
// implementation "com.google.firebase:firebase-core:16.0.9"
implementation "com.google.firebase:firebase-messaging:18.0.0"
// implementation "com.google.firebase:firebase-perf:17.0.2"
// implementation 'com.google.firebase:firebase-inappmessaging-display:17.2.0'

// For animated GIF support
// https://frescolib.org/docs/index.html
implementation 'com.facebook.fresco:fresco:2.0.0'
implementation 'com.facebook.fresco:animated-gif:2.0.0'
implementation 'com.android.support:support-core-utils:24.2.1'

implementation 'com.android.support:exifinterface:27.+'

// implementation('com.facebook.android:facebook-android-sdk:[5,6)') {
//     exclude group: 'com.parse.bolts', module: 'bolts-android';
//     exclude group: 'com.parse.bolts', module: 'bolts-applinks';
//     exclude group: 'com.parse.bolts', module: 'bolts-tasks';
// }
implementation 'com.facebook.android:facebook-android-sdk:4.26.0'

// For Detox tests
androidTestImplementation('com.wix:detox:+') { transitive = true }
androidTestImplementation 'junit:junit:4.12'

// From node_modules
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation('com.crashlytics.sdk.android:crashlytics:2.9.0@aar') {
    transitive = true;
}
implementation 'com.google.android.exoplayer:exoplayer:2.7.1'

// coroutines!
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.2'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.2'

// for PDF viewer
implementation 'com.otaliastudios:zoomlayout:1.7.0'

    implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"
implementation 'com.google.android.gms:play-services-maps:17.0.0'
implementation 'com.facebook.soloader:soloader:0.11.0+'
implementation 'org.jetbrains:annotations:16.0.2'

debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") {
  exclude group:'com.facebook.fbjni'
}
debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") {
    exclude group:'com.facebook.flipper'

    // https://stackoverflow.com/questions/60926425/java-lang-runtimeexception-requested-enabled-devsupportmanager-but-devsupportm
    exclude group:'com.squareup.okhttp3', module:'okhttp'
}
debugImplementation("com.facebook.flipper:flipper-fresco-plugin:${FLIPPER_VERSION}") {
    exclude group:'com.facebook.flipper'
}

}
configurations.all {    // fixes a Detox dependency
resolutionStrategy {
force 'androidx.annotation:annotation:1.0.2'
}
}
// Run this once to be able to run the application with BUCK
// puts all compile dependencies into folder libs for BUCK to use
task copyDownloadableDepsToLibs(type: Copy) {
from configurations.compile
into 'libs'
}
project.ext.vectoricons = [
iconFontNames: [ 'MaterialIcons.ttf', 'MaterialCommunityIcons.ttf', 'Entypo.ttf' ] // Name of the font files you want to copy
]
apply from: file("$nodeModules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
apply from: "$nodeModules/react-native-vector-icons/fonts.gradle"
apply plugin: 'kotlin-android'
// this should be last
// https://rnfirebase.io/docs/v5.x.x/installation/android#2.-Setup-google-services.json
apply plugin: 'com.google.gms.google-services'
// fixes dependency resolution error
// https://github.com/invertase/react-native-firebase/issues/1155#issuecomment-395944013
// GoogleServicesPlugin.config.disableVersionCheck = true
Please let me know if any solution.

I am using react-native 0.62.3, due to some reasons I cannot upgrade my react-native version. After updating my sdk version to 34 and doing changes in mainapplication.java. I am getting error for "Context.RECEIVER_EXPORTED".
My MainApplication.java
package guru.fan.invimaticconvention;
import android.app.Application; import android.content.Context;
import com.bugsnag.BugsnagReactNative; import com.crashlytics.android.Crashlytics; import com.facebook.CallbackManager; import com.facebook.drawee.backends.pipeline.Fresco; import com.facebook.react.PackageList; import com.facebook.react.ReactApplication; import com.facebook.react.ReactInstanceManager; import com.facebook.react.ReactNativeHost; import com.facebook.react.ReactPackage; import com.facebook.soloader.SoLoader; import com.sudoplz.reactnativeamplitudeanalytics.RNAmplitudeSDKPackage;
import java.lang.reflect.InvocationTargetException; import java.util.List;
import guru.fan.invimaticconvention.pdf.PdfViewPackage; import io.branch.referral.Branch; import io.fabric.sdk.android.Fabric; //import io.invertase.firebase.RNFirebasePackage; //import io.invertase.firebase.analytics.RNFirebaseAnalyticsPackage; //import io.invertase.firebase.instanceid.RNFirebaseInstanceIdPackage; //import io.invertase.firebase.messaging.RNFirebaseMessagingPackage; //import io.invertase.firebase.notifications.RNFirebaseNotificationsPackage; //import io.invertase.firebase.perf.RNFirebasePerformancePackage; import android.content.BroadcastReceiver; import android.content.Intent; import android.content.IntentFilter; import android.os.Build; import org.jetbrains.annotations.Nullable;
public class MainApplication extends Application implements ReactApplication {
private static CallbackManager mCallbackManager = CallbackManager.Factory.create();
protected static CallbackManager getCallbackManager() { return mCallbackManager; }
private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
@Override
public boolean getUseDeveloperSupport() {
  return BuildConfig.DEBUG;
}

@Override
protected List<ReactPackage> getPackages() {
  @SuppressWarnings("UnnecessaryLocalVariable")
  List<ReactPackage> packages = new PackageList(this).getPackages();
  packages.add(new RNAmplitudeSDKPackage(MainApplication.this));

// packages.add(new RNFirebaseNotificationsPackage()); // packages.add(new RNFirebaseMessagingPackage()); // packages.add(new RNFirebaseAnalyticsPackage()); // packages.add(new RNFirebasePerformancePackage()); // packages.add(new RNFirebaseInstanceIdPackage()); packages.add(new PdfViewPackage()); return packages; }
@Override
protected String getJSMainModuleName() {
  return "index";
}

};
@OverRide public ReactNativeHost getReactNativeHost() { return mReactNativeHost; }
@OverRide public Intent registerReceiver(@nullable BroadcastReceiver receiver, IntentFilter filter) { if (Build.VERSION.SDK_INT >= 34 && getApplicationInfo().targetSdkVersion >= 34) { return super.registerReceiver(receiver, filter, Context.RECEIVER_EXPORTED); } else { return super.registerReceiver(receiver, filter); } }
@OverRide public void onCreate() { super.onCreate(); Fresco.initialize(this); Fabric.with(this, new Crashlytics()); Branch.getAutoInstance(this); BugsnagReactNative.start(this); SoLoader.init(this, /* native exopackage */ false); initializeFlipper(this, getReactNativeHost().getReactInstanceManager()); }
/**

Loads Flipper in React Native templates. Call this in the onCreate method with something like
initializeFlipper(this, getReactNativeHost().getReactInstanceManager());
@param context
@param reactInstanceManager
/
private static void initializeFlipper(
Context context, ReactInstanceManager reactInstanceManager) {
if (BuildConfig.DEBUG) {
try {
/
We use reflection here to pick up the class that initializes Flipper,
since Flipper library is not available in release mode
*/
Class<?> aClass = Class.forName("com.rndiffapp.ReactNativeFlipper");
aClass
.getMethod("initializeFlipper", Context.class, ReactInstanceManager.class)
.invoke(null, context, reactInstanceManager);
} catch (ClassNotFoundException e) {
e.printStackTrace();
} catch (NoSuchMethodException e) {
e.printStackTrace();
} catch (IllegalAccessException e) {
e.printStackTrace();
} catch (InvocationTargetException e) {
e.printStackTrace();
}
}
}
}

My app/build.gradle def nodeModules = "$rootDir/../../../node_modules"
apply plugin: "com.android.application" apply plugin: 'io.fabric' // apply plugin: "com.google.firebase.firebase-perf"
repositories { maven { url 'https://maven.fabric.io/public' } google() }
import com.android.build.OutputFile //import com.google.gms.googleservices.GoogleServicesPlugin
/**

The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets
and bundleReleaseJsAndAssets).
These basically call react-native bundle with the correct arguments during the Android build
cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the
bundle directly from the development server. Below you can see all the possible configurations
and their defaults. If you decide to add a configuration block, make sure to add it before the
apply from: "../../node_modules/react-native/react.gradle" line.
project.ext.react = [
// the name of the generated asset file containing your JS bundle
bundleAssetName: "index.android.bundle",
// the entry file for bundle generation. If none specified and
// "index.android.js" exists, it will be used. Otherwise "index.js" is
// default. Can be overridden with ENTRY_FILE environment variable.
entryFile: "index.android.js",
// whether to bundle JS and assets in debug mode
bundleInDebug: false,
// whether to bundle JS and assets in release mode
bundleInRelease: true,
// whether to bundle JS and assets in another build variant (if configured).
// See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants
// The configuration property can be in the following formats
//         'bundleIn${productFlavor}${buildType}'
//         'bundleIn${buildType}'
// bundleInFreeDebug: true,
// bundleInPaidRelease: true,
// bundleInBeta: true,
// whether to disable dev mode in custom build variants (by default only disabled in release)
// for example: to disable dev mode in the staging build type (if configured)
devDisabledInStaging: true,
// The configuration property can be in the following formats
//         'devDisabledIn${productFlavor}${buildType}'
//         'devDisabledIn${buildType}'
// the root of your project, i.e. where "package.json" lives
root: "../../",
// where to put the JS bundle asset in debug mode
jsBundleDirDebug: "$buildDir/intermediates/assets/debug",
// where to put the JS bundle asset in release mode
jsBundleDirRelease: "$buildDir/intermediates/assets/release",
// where to put drawable resources / React Native assets, e.g. the ones you use via
// require('./image.png')), in debug mode
resourcesDirDebug: "$buildDir/intermediates/res/merged/debug",
// where to put drawable resources / React Native assets, e.g. the ones you use via
// require('./image.png')), in release mode
resourcesDirRelease: "$buildDir/intermediates/res/merged/release",
// by default the gradle tasks are skipped if none of the JS files or assets change; this means
// that we don't look at files in android/ or ios/ to determine whether the tasks are up to
// date; if you have any other folders that you want to ignore for performance reasons (gradle
// indexes the entire tree), add them here. Alternatively, if you have JS files in android/
// for example, you might want to remove it from here.
inputExcludes: ["android/", "ios/"],
// override which node gets called and with what additional arguments
nodeExecutableAndArgs: ["node"],
// supply additional arguments to the packager
extraPackagerArgs: []
]
*/

project.ext.react = [ enableHermes: false, hermesCommand: "$nodeModules/hermesvm/%OS-BIN%/hermes", ]
apply from: "$nodeModules/react-native/react.gradle"
/**

Set this to true to create two separate APKs instead of one:

An APK that only works on ARM devices

An APK that only works on x86 devices

The advantage is the size of the APK is reduced by about 4MB.
Upload all the APKs to the Play Store and people will download
the correct one based on the CPU architecture of their device.
*/
def enableSeparateBuildPerCPUArchitecture = false

/**

Run Proguard to shrink the Java bytecode in release builds.
*/
def enableProguardInReleaseBuilds = false

/**

The preferred build flavor of JavaScriptCore.
For example, to use the international variant, you can use:
def jscFlavor = 'org.webkit:android-jsc-intl:+'
The international variant includes ICU i18n library and necessary data
allowing to use e.g. Date.toLocaleString and String.localeCompare that
give correct results when using with locales other than en-US.  Note that
this variant is about 6MiB larger per architecture than default.
/
def jscFlavor = 'org.webkit:android-jsc-intl:+'
// def jscFlavor = 'org.webkit:android-jsc:+'
/*
Whether to enable the Hermes VM.
This should be set on project.ext.react and mirrored here.  If it is not set
on project.ext.react, JavaScript will not be compiled to Hermes Bytecode
and the benefits of using Hermes will therefore be sharply reduced.
*/
def enableHermes = project.ext.react.get("enableHermes", false);

android { //https://github.com/wonday/react-native-pdf#installation packagingOptions { pickFirst '/x86/libc++_shared.so' pickFirst '/x86_64/libjsc.so' pickFirst '/arm64-v8a/libjsc.so' pickFirst '/arm64-v8a/libc++_shared.so' pickFirst '/x86_64/libc++_shared.so' pickFirst '/armeabi-v7a/libc++_shared.so' pickFirst '/x86/libjsc.so' pickFirst '/armeabi-v7a/libjsc.so' }
compileSdkVersion rootProject.ext.compileSdkVersion

compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8
}

sourceSets.main {
    jni.srcDirs = []
}

defaultConfig {
    applicationId "guru.fan.invimaticconvention"
    minSdkVersion rootProject.ext.minSdkVersion
    targetSdkVersion rootProject.ext.targetSdkVersion
    multiDexEnabled true
    versionCode 314
    versionName "2.23.98"

    ndk {
        abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64'
    }
    // Add these lines below the existing config
    renderscriptTargetApi 23
    renderscriptSupportModeEnabled true
    vectorDrawables.useSupportLibrary = true

    testBuildType System.getProperty('testBuildType', 'debug')  // This will later be used to control the test apk build type
    testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

    resConfigs "en"

    // https://react-native-iap.dooboolab.com/docs/installing
    missingDimensionStrategy 'store', 'play'
}
signingConfigs {
    release {
        if (project.hasProperty('MYAPP_RELEASE_STORE_FILE')) {
            storeFile file(MYAPP_RELEASE_STORE_FILE)
            storePassword MYAPP_RELEASE_STORE_PASSWORD
            keyAlias MYAPP_RELEASE_KEY_ALIAS
            keyPassword MYAPP_RELEASE_KEY_PASSWORD
        }
    }
}
splits {
    abi {
        reset()
        enable enableSeparateBuildPerCPUArchitecture
        universalApk false  // If true, also generate a universal APK
        include "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
    }
}
buildTypes {
    release {
        minifyEnabled enableProguardInReleaseBuilds
        proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
        signingConfig signingConfigs.release
    }
}
// applicationVariants are e.g. debug, release
applicationVariants.all { variant ->
    variant.outputs.each { output ->
        // For each separate APK per architecture, set a unique version code as described here:
        // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
        def versionCodes = ["armeabi-v7a": 1, "x86": 2, "arm64-v8a": 3, "x86_64": 4]
        def abi = output.getFilter(OutputFile.ABI)
        if (abi != null) {  // null for the universal-debug, universal-release variants
            output.versionCodeOverride =
                    versionCodes.get(abi) * 1048576 + defaultConfig.versionCode
        }
        // apk name should be like: fanguru-app-1.0
        // update defaultConfig versionName name to this to work fine
        //output.outputFile = new File(output.outputFile.parent,
        //        "guru-fan-app-${variant.versionName}.apk")
    }
}
dexOptions {
    javaMaxHeapSize "4g"
    preDexLibraries = false
}
compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8
}

}
android { defaultConfig { multiDexEnabled true missingDimensionStrategy 'react-native-camera', 'general' testBuildType System.getProperty('testBuildType', 'debug') // This will later be used to control the test apk build type testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner' } lintOptions { checkReleaseBuilds false // Or, if you prefer, you can continue to check for errors in release builds, // but continue the build even when errors are found: abortOnError false }
}
crashlytics { enableNdk false }
dependencies { if (enableHermes) { def hermesPath = "$nodeModules/hermes-engine/android/"; debugImplementation files(hermesPath + "hermes-debug.aar") releaseImplementation files(hermesPath + "hermes-release.aar") } else { implementation jscFlavor }
def multidex_version = "2.0.1"                                  //Line added to resolve error while creating apk/aab
implementation "androidx.multidex:multidex:$multidex_version"   //Line added to resolve error while creating apk/aab

implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "com.android.billingclient:billing:5.0.0"
implementation 'com.facebook.react:react-native'

// https://github.com/SudoPlz/react-native-amplitude-analytics#android-manual-installation
implementation 'com.amplitude:android-sdk:2.19.1' // native sdk of amplitude
implementation project(':react-native-amplitude-analytics')

// Firebase dependencies
// https://rnfirebase.io/docs/v5.x.x/installation/android#3.-Add-Firebase-modules
// implementation project(':react-native-firebase')
// implementation "com.google.android.gms:play-services-base:17.0.1"
// implementation "com.google.firebase:firebase-core:16.0.9"
implementation "com.google.firebase:firebase-messaging:18.0.0"
// implementation "com.google.firebase:firebase-perf:17.0.2"
// implementation 'com.google.firebase:firebase-inappmessaging-display:17.2.0'

// For animated GIF support
// https://frescolib.org/docs/index.html
implementation 'com.facebook.fresco:fresco:2.0.0'
implementation 'com.facebook.fresco:animated-gif:2.0.0'
implementation 'com.android.support:support-core-utils:24.2.1'

implementation 'com.android.support:exifinterface:27.+'

// implementation('com.facebook.android:facebook-android-sdk:[5,6)') {
//     exclude group: 'com.parse.bolts', module: 'bolts-android';
//     exclude group: 'com.parse.bolts', module: 'bolts-applinks';
//     exclude group: 'com.parse.bolts', module: 'bolts-tasks';
// }
implementation 'com.facebook.android:facebook-android-sdk:4.26.0'

// For Detox tests
androidTestImplementation('com.wix:detox:+') { transitive = true }
androidTestImplementation 'junit:junit:4.12'

// From node_modules
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation('com.crashlytics.sdk.android:crashlytics:2.9.0@aar') {
    transitive = true;
}
implementation 'com.google.android.exoplayer:exoplayer:2.7.1'

// coroutines!
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.2'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.2'

// for PDF viewer
implementation 'com.otaliastudios:zoomlayout:1.7.0'

    implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"
implementation 'com.google.android.gms:play-services-maps:17.0.0'
implementation 'com.facebook.soloader:soloader:0.11.0+'
implementation 'org.jetbrains:annotations:16.0.2'

debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") {
  exclude group:'com.facebook.fbjni'
}
debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") {
    exclude group:'com.facebook.flipper'

    // https://stackoverflow.com/questions/60926425/java-lang-runtimeexception-requested-enabled-devsupportmanager-but-devsupportm
    exclude group:'com.squareup.okhttp3', module:'okhttp'
}
debugImplementation("com.facebook.flipper:flipper-fresco-plugin:${FLIPPER_VERSION}") {
    exclude group:'com.facebook.flipper'
}

}
configurations.all { // fixes a Detox dependency resolutionStrategy { force 'androidx.annotation:annotation:1.0.2' } }
// Run this once to be able to run the application with BUCK // puts all compile dependencies into folder libs for BUCK to use task copyDownloadableDepsToLibs(type: Copy) { from configurations.compile into 'libs' }
project.ext.vectoricons = [ iconFontNames: [ 'MaterialIcons.ttf', 'MaterialCommunityIcons.ttf', 'Entypo.ttf' ] // Name of the font files you want to copy ]
apply from: file("$nodeModules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project) apply from: "$nodeModules/react-native-vector-icons/fonts.gradle"
apply plugin: 'kotlin-android'
// this should be last // https://rnfirebase.io/docs/v5.x.x/installation/android#2.-Setup-google-services.json apply plugin: 'com.google.gms.google-services'
// fixes dependency resolution error // invertase/react-native-firebase#1155 (comment) // GoogleServicesPlugin.config.disableVersionCheck = true
Please let me know if any solution.

error: cannot find symbol
return super.registerReceiver(receiver, filter, Context.RECEIVER_EXPORTED);
^
symbol:   variable RECEIVER_EXPORTED
location: class Context
Getting above error while running

error: cannot find symbol
return super.registerReceiver(receiver, filter, Context.RECEIVER_EXPORTED);
^
symbol: variable RECEIVER_EXPORTED
location: class Context
Guyz any solution for above issue? My  react-native version 0.62.3. And below is my package.json, just in case if I need to update any library.
{
"name": "MY_PROJEXT_NAME",
"version": "2.23.98",
"private": true,
"workspaces": {
"nohoist": [
"detox"
]
},
"scripts": {
"start": "npx react-native start",
"start-test": "cross-env TEST_ENV=true react-native start",
"android:build": "react-native run-android",
"android": "npm-run-all --parallel --print-label start android:build",
"android-qa": "cross-env QA=true react-native run-android --variant=release --no-packager",
"android-release": "react-native run-android --variant=release --no-packager",
"ios:build": "react-native run-ios --device",
"ios": "npm-run-all --parallel --print-label start ios:build",
"ios-qa": "cross-env QA=true react-native run-ios --device --configuration=Release --no-packager",
"ios-release": "react-native run-ios --device --configuration=Release --no-packager",
"pod-install": "cd ios; pod install; cd ..",
"test": "jest --forceExit",
"android-e2e": "yarn start-test & detox build -c android && detox test -c android",
"ios-e2e": "yarn start-test & detox build -c ios && detox test -c ios",
"e2e": "yarn android-e2e & yarn ios-e2e",
"logcat": "adb logcat | grep ReactNativeJS",
"logcat-windows": "adb logcat | Select-String -Pattern "ReactNativeJS"",
"adb-reverse": "adb reverse tcp:8081 tcp:8081",
"prepare": "node ../../scripts/post.js",
"unity-export": "bash ../../scripts/unzip-unity-exports.sh",
"bundle-test": "react-native bundle --entry-file=./index.js --bundle-output=./bundle.js",
"version": "node scripts/version.js && git add -A",
"typecheck": "tsc --noEmit",
"ci": "npm-run-all --parallel --print-label --continue-on-error test typecheck bundle-test",
"find-unused": "bash ./scripts/find-unused.sh",
"create-native-assets": "node scripts/create-native-assets.js"
},
"dependencies": {
"@eventology/frontend-state": "^2.0.1",
"@invertase/react-native-apple-authentication": "^1.1.1",
"@mobile/config": "^2.23.86",
"@mobile/core": "^2.23.92",
"@notifee/react-native": "5.7.0",
"@react-native-community/async-storage": "^1.7.1",
"@react-native-community/cameraroll": "^1.3.0",
"@react-native-community/datetimepicker": "^3.0.4",
"@react-native-community/geolocation": "^2.0.2",
"@react-native-community/masked-view": "^0.1.9",
"@react-native-community/netinfo": "^5.3.2",
"@react-native-community/picker": "^1.8.1",
"@react-native-firebase/analytics": "14.12.0",
"@react-native-firebase/app": "14.12.0",
"@react-native-firebase/messaging": "14.12.0",
"@react-navigation/bottom-tabs": "^5.11.11",
"@react-navigation/drawer": "^5.12.5",
"@react-navigation/native": "^5.9.4",
"@react-navigation/stack": "^5.14.5",
"agora-rn-uikit": "^3.3.0",
"axios": "^0.21.1",
"bugsnag-react-native": "^2.23.4",
"card-validator": "^6.2.0",
"compare-versions": "^3.5.1",
"geolib": "^3.2.1",
"get-youtube-id": "^1.0.1",
"hash.js": "^1.1.7",
"idx": "^2.5.6",
"invariant": "^2.2.4",
"linkifyjs": "^2.1.8",
"lodash": "^4.17.15",
"mobx": "^5.15.1",
"mobx-react": "6.1.4",
"moment": "^2.24.0",
"phone": "^2.4.3",
"polished": "^4.0.3",
"react": "",
"react-native": "",
"react-native-actionsheet": "^2.4.2",
"react-native-agora": "^3.5.0",
"react-native-amplitude-analytics": "^0.2.7",
"react-native-branch": "^4.3.0",
"react-native-camera": "^3.15.1",
"react-native-device-info": "^5.5.3",
"react-native-drag-sort": "^1.3.6",
"react-native-fbsdk-next": "^3.0.1",
"react-native-fs": "^2.16.2",
"react-native-gesture-handler": "^1.6.1",
"react-native-google-places-autocomplete": "^1.4.1",
"react-native-iap": "^7.5.0",
"react-native-image-crop-picker": "0.36.4",
"react-native-image-picker": "4.0.0",
"react-native-maps": "^0.26.1",
"react-native-mixpanel": "^1.1.14",
"react-native-modal": "^13.0.1",
"react-native-modal-datetime-picker": "^9.0.0",
"react-native-orientation": "^3.1.3",
"react-native-permissions": "3.6.0",
"react-native-picker-select": "8.0.3",
"react-native-qrcode-svg": "^6.0.3",
"react-native-rate": "1.2.12",
"react-native-reanimated": "^1.8.0",
"react-native-render-html": "^4.2.0",
"react-native-safe-area-context": "^0.7.3",
"react-native-screens": "^2.5.0",
"react-native-sms": "^1.10.0",
"react-native-snap-carousel": "^3.9.1",
"react-native-splash-screen": "3.2.0",
"react-native-square-in-app-payments": "1.3.1",
"react-native-status-bar-height": "^2.4.0",
"react-native-svg": "^12.0.3",
"react-native-svg-uri": "eventology/react-native-svg-uri#b5c28ddcc47ad48ebdb6092ca5334b80a9ad7b18",
"react-native-tab-view": "^2.14.0",
"react-native-thumbnail": "phuochau/react-native-thumbnail#dc9af06fcee553dce561158cfb05e915655634bb",
"react-native-vector-icons": "^6.6.0",
"react-native-version-number": "^0.3.6",
"react-native-video": "^5.1.0-alpha8",
"react-native-video-player": "^0.10.1",
"react-native-view-shot": "^3.0.2",
"react-native-webview": "^11.0.2",
"react-native-youtube": "^2.0.0",
"react-query": "^3.39.0",
"rn-fetch-blob": "joltup/rn-fetch-blob#0f6c3e3cc1c9c3c4b1640c8da42adffc3d620e90",
"sendbird": "^3.0.115",
"snapshot-diff": "^0.8.1",
"socket.io-client": "^3.1.0",
"styled-components": "^5.3.0",
"tipsi-stripe": "^7.5.3",
"url-parse": "^1.4.7",
"uuid": "^3.3.3"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-decorators": "^7.8.3",
"@babel/preset-typescript": "^7.9.0",
"@types/babel__core": "^7.1.3",
"@types/card-validator": "^4.1.0",
"@types/detox": "^14.5.2",
"@types/invariant": "^2.2.31",
"@types/jest": "^24.0.25",
"@types/linkifyjs": "^2.1.3",
"@types/lodash": "^4.14.149",
"@types/phone": "^2.4.0",
"@types/prettier": "~1.19.0",
"@types/react": "",
"@types/react-devtools": "^3.6.0",
"@types/react-dom": "^17.0.1",
"@types/react-native": "",
"@types/react-native-actionsheet": "^2.4.1",
"@types/react-native-maps": "^0.24.0",
"@types/react-native-mixpanel": "^0.1.0",
"@types/react-native-orientation": "^5.0.1",
"@types/react-native-snap-carousel": "^3.7.4",
"@types/react-native-status-bar-height": "^2.1.0",
"@types/react-native-svg-uri": "^1.2.3",
"@types/react-native-vector-icons": "^6.4.5",
"@types/react-native-version-number": "^0.3.0",
"@types/react-native-video": "^5.0.3",
"@types/react-native-video-player": "^0.10.1",
"@types/react-test-renderer": "^16.9.1",
"@types/rn-fetch-blob": "^1.2.1",
"@types/sharp": "^0.24.0",
"@types/styled-components": "^5.1.11",
"@types/url-parse": "^1.4.3",
"@types/uuid": "^3.4.6",
"axios-mock-adapter": "^1.17.0",
"babel-jest": "^25.2.4",
"babel-plugin-idx": "^2.4.0",
"babel-plugin-module-resolver": "^4.0.0",
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
"babel-plugin-transform-remove-console": "^6.9.4",
"cross-env": "^7.0.0",
"detox": "^17.14.9",
"jest": "^25.1.0",
"jest-circus": "^26.6.3",
"jest-html-reporters": "^2.0.1",
"jetifier": "^1.6.5",
"metro-react-native-babel-preset": "^0.59.0",
"npm-run-all": "^4.1.5",
"react-devtools": "^4.4.0",
"react-dom": "^16.12.0",
"react-native-testing-library": "^1.12.0",
"react-test-renderer": "^17.0.1",
"sharp": "^0.32.5",
"ts-prune": "^0.8.4",
"typescript-styled-plugin": "^0.15.0",
"typesync": "^0.6.1",
"wait-for-expect": "^3.0.1"
},
"detox": {
"configurations": {
"ios": {
"binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/Fanguru.app",
"build": "xcodebuild -workspace ios/Fanguru.xcworkspace -scheme Fanguru -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
"type": "ios.simulator",
"name": "iPhone 11"
},
"android": {
"binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk",
"build": "cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && cd ..",
"type": "android.emulator",
"name": "5.1_WVGA_API_25"
}
},
"test-runner": "jest"
}
}
Please respond if any solution is found, I am trying at my end since last 1 week.

Thanks everyone! To put it together, adding the following code did the trick for me (react-native 0.69.12)
MainApplication.java
// Add imports
import android.content.BroadcastReceiver;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Build;
import org.jetbrains.annotations.Nullable;

// ...

// Put this above  "public void onCreate()":
  @Override
  public Intent registerReceiver(@Nullable BroadcastReceiver receiver, IntentFilter filter) {
    if (Build.VERSION.SDK_INT >= 34 && getApplicationInfo().targetSdkVersion >= 34) {
      return super.registerReceiver(receiver, filter, Context.RECEIVER_EXPORTED);
    } else {
      return super.registerReceiver(receiver, filter);
    }
  }
// ....

app/build.gradle
dependencies {
     //  ...
    implementation 'org.jetbrains:annotations:16.0.2'
    // ...
}

This also worked on my end!
2019 app and removed by google for depreciated dependencies and a lot to stuffs to upgrade
react-native 0.67.5
firebase 16.7.5
buildToolsVersion = "34.0.0" //was 33
minSdkVersion = 21
compileSdkVersion = 34 //was 33
targetSdkVersion = 34 //was 33

Thanks everyone! To put it together, adding the following code did the trick for me (react-native 0.69.12)
MainApplication.java
// Add imports
import android.content.BroadcastReceiver;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Build;
import org.jetbrains.annotations.Nullable;

// ...

// Put this above  "public void onCreate()":
  @Override
  public Intent registerReceiver(@Nullable BroadcastReceiver receiver, IntentFilter filter) {
    if (Build.VERSION.SDK_INT >= 34 && getApplicationInfo().targetSdkVersion >= 34) {
      return super.registerReceiver(receiver, filter, Context.RECEIVER_EXPORTED);
    } else {
      return super.registerReceiver(receiver, filter);
    }
  }
// ....

app/build.gradle
dependencies {
     //  ...
    implementation 'org.jetbrains:annotations:16.0.2'
    // ...
}

Thanks @Sebosam @christophby so much, this solution working fine! I've been sleepless since last week because of these issues

@wendysychan is your application works after build an .apk file or .aab ??? or just locally on simulator ?

Sorry for late reply @dariusz-rosiek-branchspace , yes its working after build .apk and also .aab with very old RN version 0.62.3

I am having same react-native version still facing same issue. Can you please help?

Thanks everyone! To put it together, adding the following code did the trick for me (react-native 0.69.12)
MainApplication.java
// Add imports
import android.content.BroadcastReceiver;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Build;
import org.jetbrains.annotations.Nullable;

// ...

// Put this above  "public void onCreate()":
  @Override
  public Intent registerReceiver(@Nullable BroadcastReceiver receiver, IntentFilter filter) {
    if (Build.VERSION.SDK_INT >= 34 && getApplicationInfo().targetSdkVersion >= 34) {
      return super.registerReceiver(receiver, filter, Context.RECEIVER_EXPORTED);
    } else {
      return super.registerReceiver(receiver, filter);
    }
  }
// ....

app/build.gradle
dependencies {
     //  ...
    implementation 'org.jetbrains:annotations:16.0.2'
    // ...
}

Thanks @Sebosam @christophby so much, this solution working fine! I've been sleepless since last week because of these issues

@wendysychan is your application works after build an .apk file or .aab ??? or just locally on simulator ?

Sorry for late reply @dariusz-rosiek-branchspace , yes its working after build .apk and also .aab with very old RN version 0.62.3

I am having same react-native version still facing same issue. Can you please help @wendysychan ?

Hi, could you send a screenshot of the error you're encountering?

import android.content.Context;
solving this problem

Thanks everyone! To put it together, adding the following code did the trick for me (react-native 0.69.12)
MainApplication.java
// Add imports
import android.content.BroadcastReceiver;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Build;
import org.jetbrains.annotations.Nullable;

// ...

// Put this above  "public void onCreate()":
  @Override
  public Intent registerReceiver(@Nullable BroadcastReceiver receiver, IntentFilter filter) {
    if (Build.VERSION.SDK_INT >= 34 && getApplicationInfo().targetSdkVersion >= 34) {
      return super.registerReceiver(receiver, filter, Context.RECEIVER_EXPORTED);
    } else {
      return super.registerReceiver(receiver, filter);
    }
  }
// ....

app/build.gradle
dependencies {
     //  ...
    implementation 'org.jetbrains:annotations:16.0.2'
    // ...
}

Thanks @Sebosam @christophby so much, this solution working fine! I've been sleepless since last week because of these issues

@wendysychan is your application works after build an .apk file or .aab ??? or just locally on simulator ?

Sorry for late reply @dariusz-rosiek-branchspace , yes its working after build .apk and also .aab with very old RN version 0.62.3

I tried and its not working for :
react-native: 0.63.1
JDK 11
gradle-6.9
Error: cannot find symbol
return super.registerReceiver(receiver, filter, Context.RECEIVER_EXPORTED);
^
symbol: variable RECEIVER_EXPORTED
location: class Context

This also worked on my end the app won't crash anymore but when i send it for review in google play console it says that

Issue found: Violation of Broken Functionality policy
Your app contains content that isn’t compliant with the Broken Functionality policy.
App loads, but crashes

react-native 0.67.5
firebase 16.7.5
buildToolsVersion = "34.0.0" //was 33
minSdkVersion = 21
compileSdkVersion = 34 //was 33
targetSdkVersion = 34 //was 33

**MainApplication.java**

>
> // Add imports
> import android.content.BroadcastReceiver;
> import android.content.Intent;
> import android.content.IntentFilter;
> import android.os.Build;
> import org.jetbrains.annotations.Nullable;
>
> // ...
>
> // Put this above  "public void onCreate()":
>   @Override
>   public Intent registerReceiver(@Nullable BroadcastReceiver receiver, IntentFilter filter) {
>     if (Build.VERSION.SDK_INT >= 34 && getApplicationInfo().targetSdkVersion >= 34) {
>       return super.registerReceiver(receiver, filter, Context.RECEIVER_EXPORTED);
>     } else {
>       return super.registerReceiver(receiver, filter);
>     }
>   }
>

> **app/build.gradle**
>
> dependencies {
>
>     implementation 'org.jetbrains:annotations:16.0.2'
>
> }

Thanks everyone! To put it together, adding the following code did the trick for me (react-native 0.69.12)
MainApplication.java
// Add imports
import android.content.Context;
import android.content.BroadcastReceiver;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Build;
import org.jetbrains.annotations.Nullable;

// ...

// Put this above  "public void onCreate()":
  @Override
  public Intent registerReceiver(@Nullable BroadcastReceiver receiver, IntentFilter filter) {
    if (Build.VERSION.SDK_INT >= 34 && getApplicationInfo().targetSdkVersion >= 34) {
      return super.registerReceiver(receiver, filter, Context.RECEIVER_EXPORTED);
    } else {
      return super.registerReceiver(receiver, filter);
    }
  }
// ....

app/build.gradle
dependencies {
     //  ...
    implementation 'org.jetbrains:annotations:16.0.2'
    // ...
}

Thanks @Sebosam @christophby so much, this solution working fine! I've been sleepless since last week because of these issues

@wendysychan is your application works after build an .apk file or .aab ??? or just locally on simulator ?

Sorry for late reply @dariusz-rosiek-branchspace , yes its working after build .apk and also .aab with very old RN version 0.62.3

HI, @wendysychan I tried and its not working for :
react-native: 0.63.1 JDK 11 gradle-6.9
Error: cannot find symbol return super.registerReceiver(receiver, filter, Context.RECEIVER_EXPORTED); ^ symbol: variable RECEIVER_EXPORTED location: class Context

I am also facing same issue,
reat-native - 0.62.3
JDK - 11
grdale - 6.3

Context

@christophby  there was this import statement missing your comment can you check is this below necessary  import and update your comment? It will be easier for resolving this issue.
import android.content.Context;

Thanks everyone! To put it together, adding the following code did the trick for me (react-native 0.69.12)
MainApplication.java
// Add imports
import android.content.BroadcastReceiver;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Build;
import org.jetbrains.annotations.Nullable;

// ...

// Put this above  "public void onCreate()":
  @Override
  public Intent registerReceiver(@Nullable BroadcastReceiver receiver, IntentFilter filter) {
    if (Build.VERSION.SDK_INT >= 34 && getApplicationInfo().targetSdkVersion >= 34) {
      return super.registerReceiver(receiver, filter, Context.RECEIVER_EXPORTED);
    } else {
      return super.registerReceiver(receiver, filter);
    }
  }
// ....

app/build.gradle
dependencies {
     //  ...
    implementation 'org.jetbrains:annotations:16.0.2'
    // ...
}

@christophby  there was this import statement missing your comment can you check is this below necessary  import and update your comment? It will be easier for resolving this issue.
import android.content.Context;

I was able to upgrade my targetSDKVersion and compiledSDKVersion to 34 with the current fix provided by putting up the fix below.
But after generating a signed aab and uploading it to internal testing track in play console. This error shows up. Did anyone found a solution to resolve this error?

Thanks everyone! To put it together, adding the following code did the trick for me (react-native 0.69.12)
MainApplication.java
// Add imports
import android.content.BroadcastReceiver;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Build;
import org.jetbrains.annotations.Nullable;

// ...

// Put this above  "public void onCreate()":
  @Override
  public Intent registerReceiver(@Nullable BroadcastReceiver receiver, IntentFilter filter) {
    if (Build.VERSION.SDK_INT >= 34 && getApplicationInfo().targetSdkVersion >= 34) {
      return super.registerReceiver(receiver, filter, Context.RECEIVER_EXPORTED);
    } else {
      return super.registerReceiver(receiver, filter);
    }
  }
// ....

app/build.gradle
dependencies {
     //  ...
    implementation 'org.jetbrains:annotations:16.0.2'
    // ...
}

Thanks @Sebosam @christophby so much, this solution working fine! I've been sleepless since last week because of these issues

Thanks for sharing. This solution works very well

Thank you, this works for me
react-native 0.70.6

Thanks everyone! To put it together, adding the following code did the trick for me (react-native 0.69.12)
MainApplication.java
// Add imports
import android.content.BroadcastReceiver;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Build;
import org.jetbrains.annotations.Nullable;

// ...

// Put this above  "public void onCreate()":
  @Override
  public Intent registerReceiver(@Nullable BroadcastReceiver receiver, IntentFilter filter) {
    if (Build.VERSION.SDK_INT >= 34 && getApplicationInfo().targetSdkVersion >= 34) {
      return super.registerReceiver(receiver, filter, Context.RECEIVER_EXPORTED);
    } else {
      return super.registerReceiver(receiver, filter);
    }
  }
// ....

app/build.gradle
dependencies {
     //  ...
    implementation 'org.jetbrains:annotations:16.0.2'
    // ...
}

Original solution: https://github.com/facebook/react-native/issues/41288#issuecomment-2217919169
Thank you so much! This works for me with "react-native": "0.71.8".

Thanks everyone! To put it together, adding the following code did the trick for me (react-native 0.69.12)
MainApplication.java
// Add imports
import android.content.BroadcastReceiver;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Build;
import org.jetbrains.annotations.Nullable;

// ...

// Put this above  "public void onCreate()":
  @Override
  public Intent registerReceiver(@Nullable BroadcastReceiver receiver, IntentFilter filter) {
    if (Build.VERSION.SDK_INT >= 34 && getApplicationInfo().targetSdkVersion >= 34) {
      return super.registerReceiver(receiver, filter, Context.RECEIVER_EXPORTED);
    } else {
      return super.registerReceiver(receiver, filter);
    }
  }
// ....

app/build.gradle
dependencies {
     //  ...
    implementation 'org.jetbrains:annotations:16.0.2'
    // ...
}

Thanks, you saved my times

Thanks everyone! To put it together, adding the following code did the trick for me (react-native 0.69.12)
MainApplication.java
// Add imports
import android.content.BroadcastReceiver;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Build;
import org.jetbrains.annotations.Nullable;

// ...

// Put this above  "public void onCreate()":
  @Override
  public Intent registerReceiver(@Nullable BroadcastReceiver receiver, IntentFilter filter) {
    if (Build.VERSION.SDK_INT >= 34 && getApplicationInfo().targetSdkVersion >= 34) {
      return super.registerReceiver(receiver, filter, Context.RECEIVER_EXPORTED);
    } else {
      return super.registerReceiver(receiver, filter);
    }
  }
// ....

app/build.gradle
dependencies {
     //  ...
    implementation 'org.jetbrains:annotations:16.0.2'
    // ...
}

For me, it only works in debug mode with React Native version 0.64.2, but in release mode, it crashes right after opening the app. Does anyone have any ideas or suggestions? I would greatly appreciate your help

@ravindra3003 i was also trying to resolve this issue using the solution from @asaejiro but it didn't work for me. So what i did was to Clean > Build the project first so the index.android.bundle is generated and then manually copy the file into the /android/app/build/intermediates/assets/release/mergeReleaseAssets folder.
Then i generate the APK or App bundle and after which i analyze the APK and i see the index.android.bundle is packaged correctly and the app runs on my physical phone now.
Maybe you can give it a try too.

Yes, it's working for now. Please inform me if you discover a permanent solution.

You can add the following code to your node_modules\react-native\react.gradle file:

Install a lib https://www.npmjs.com/package/patch-package and generate a patch of react-native.
Hope it helps 😉

Thanks everyone! To put it together, adding the following code did the trick for me (react-native 0.69.12)
MainApplication.java
// Add imports
import android.content.BroadcastReceiver;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Build;
import org.jetbrains.annotations.Nullable;

// ...

// Put this above  "public void onCreate()":
  @Override
  public Intent registerReceiver(@Nullable BroadcastReceiver receiver, IntentFilter filter) {
    if (Build.VERSION.SDK_INT >= 34 && getApplicationInfo().targetSdkVersion >= 34) {
      return super.registerReceiver(receiver, filter, Context.RECEIVER_EXPORTED);
    } else {
      return super.registerReceiver(receiver, filter);
    }
  }
// ....

app/build.gradle
dependencies {
     //  ...
    implementation 'org.jetbrains:annotations:16.0.2'
    // ...
}

This woks thanks a lot :)

Thanks everyone! To put it together, adding the following code did the trick for me (react-native 0.69.12)
MainApplication.java
// Add imports
import android.content.BroadcastReceiver;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Build;
import org.jetbrains.annotations.Nullable;

// ...

// Put this above  "public void onCreate()":
  @Override
  public Intent registerReceiver(@Nullable BroadcastReceiver receiver, IntentFilter filter) {
    if (Build.VERSION.SDK_INT >= 34 && getApplicationInfo().targetSdkVersion >= 34) {
      return super.registerReceiver(receiver, filter, Context.RECEIVER_EXPORTED);
    } else {
      return super.registerReceiver(receiver, filter);
    }
  }
// ....

app/build.gradle
dependencies {
     //  ...
    implementation 'org.jetbrains:annotations:16.0.2'
    // ...
}

"react": "18.2.0", "react-native": "0.71.7",
This woks thanks a lot :)

import android.content.Context;

I also added this line: import android.content.Context;

Thanks everyone! To put it together, adding the following code did the trick for me (react-native 0.69.12)
MainApplication.java
// Add imports
import android.content.Context;
import android.content.BroadcastReceiver;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Build;
import org.jetbrains.annotations.Nullable;

// ...

// Put this above  "public void onCreate()":
  @Override
  public Intent registerReceiver(@Nullable BroadcastReceiver receiver, IntentFilter filter) {
    if (Build.VERSION.SDK_INT >= 34 && getApplicationInfo().targetSdkVersion >= 34) {
      return super.registerReceiver(receiver, filter, Context.RECEIVER_EXPORTED);
    } else {
      return super.registerReceiver(receiver, filter);
    }
  }
// ....

app/build.gradle
dependencies {
     //  ...
    implementation 'org.jetbrains:annotations:16.0.2'
    // ...
}

Thanks @Sebosam @christophby so much, this solution working fine! I've been sleepless since last week because of these issues

@wendysychan is your application works after build an .apk file or .aab ??? or just locally on simulator ?

Sorry for late reply @dariusz-rosiek-branchspace , yes its working after build .apk and also .aab with very old RN version 0.62.3

HI, @wendysychan I tried and its not working for :
react-native: 0.63.1 JDK 11 gradle-6.9
Error: cannot find symbol return super.registerReceiver(receiver, filter, Context.RECEIVER_EXPORTED); ^ symbol: variable RECEIVER_EXPORTED location: class Context

Any one still struggling with this issue, I found a workaround. After updating compileSDKVersion & targetSDKVersion to 34. I was getting error for Context.RECEIVER_EXPORTED. After spending more than month, I found in my android->build.gradle, there is block added for supporting some old versions of dependencies I guess, that code block is as below.
subprojects {
afterEvaluate {
project ->
if (project.hasProperty("android")) {
android {
compileSdkVersion = 34
buildToolsVersion = "28.0.3"
}
}
}
}
here compileSdkVersion was "28" which was causing issue, after updating it to 34(even 33 works) it worked.
And also if anyone using "react-native-orientaion", please follow below link.
https://medium.com/@anaz_19473/react-native-app-crashes-on-upgrading-to-targetsdkversion-34-android-14-f8f575da6b45

Please note that it may be necessary to add the android.content.Context line to your imports. Also, if your files are in Kotlin, you'd have to convert the java code to kotlin. Check my comment on StackOverflow. https://stackoverflow.com/a/79003676/9883035

To anyone still having problems with this, I followed all the steps above and my app was still crashing. I had to update ALL my packages to support Android 14 and then everything worked. Here are some of the packages I had to update:
@react-native-firebase/app, @react-native-firebase/messaging, react-native-maps, react-native-navigation, react-native-sound-player, @notifee/react-native, react-native-device-info
After updating those packages, the update to Android worked.

Big thanks to @christophby and everyone for keeping the community alive and helping each other. The solution to put the method below inside MainApplication.java worked.
import android.content.BroadcastReceiver;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Build;
import androidx.annotation.Nullable;

...
@Override
  public Intent registerReceiver(@Nullable BroadcastReceiver receiver, IntentFilter filter) {
    if (Build.VERSION.SDK_INT >= 34 && getApplicationInfo().targetSdkVersion >= 34) {
      return super.registerReceiver(receiver, filter, Context.RECEIVER_EXPORTED);
    } else {
      return super.registerReceiver(receiver, filter);
    }
  }

Below should be added to the dependencies section of the app/build.gradle file.
implementation 'org.jetbrains:annotations:16.0.2'

It works fine on debug mode, but when i build release app, it crashes right after launch
RN: 0.68.5
buildToolsVersion = "34.0.0"
minSdkVersion = 21
compileSdkVersion = 34
targetSdkVersion = 34

Thanks guys, help a lot of!!!!!


Tidy snakemake workflow

Add snakefmt as a requirement. Run and act upon suggestions.
Where appropriate, use rule dependencies to reduce duplication of file naming schemes in rules
Where appropriate, use rule inheritance to reduce duplication between rules generally
Figure out how to incorporate Max's work cleanly.

Incorporated Max's work and stripped out as much shared state from snakemake-python-land as possible.


Hard to see active tab when Tabs -> "Enable VCS Coloring" is enabled

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
Originally I thought VCS coloring was overriding the active tab highlight (of pure white text) but I realized there's a very subtle tab background color when the tab is active which is nearly impossible to see if your brightness isn't set to absolute maximum or viewing conditions aren't perfectly optimal.
Steps to Reproduce

Tabs -> Enable VCS Coloring
Open several VCS-modified files at once
Select one of the VCS-modified tabs

Expected behavior: [What you expect to happen]
This is what happens with the setting disabled.

Actual behavior: [What actually happens]
This is nearly impossible to discern without optimal screen viewing conditions

Versions
Atom: 1.22.1
Electron: 1.6.15
Chrome: 56.0.2924.87
Node: 7.4.0
OS: OSX 10.12.3
Additional Information
I wasn't sure if this should be addressed within this package or within the tabs package, but since the instructions say to test if this persists in safe mode and it is not an obvious issue in safe mode I figured the responsibility falls on this package (which is a stylistic package) to play nicely with core behavior.
I don't off the top of my head have concrete ideas on how to address this as I sort of feel that VCS coloring should persist on the currently active tab, but I feel there could be an improvement about this UI such as making the text bold, adding clearer separation of tabs, muting the sibling tab text, or something.

I've realized after switching to one-light-ui that the active tab coloration matches the Syntax Theme background which I currently have set to Monokai so perhaps this is just my IDE's configuration. I would still like to see something other than pure coloration differentiation.

Hmm, the blue indicator on the left is missing.  I've been noticing that it only shows up sporadically now as well. @simurai

A few additional notes that lead to this problem:

Monokai's background color is extremely close to one-dark-ui
The 'muted' coloration of inactive tabs is lost when VCS coloring is enabled
The 'active' coloration of active tabs (bright white text) is lost when VCS coloring is enabled
The blue line for the active tab is missing as @50Wliu pointed out

I'm not a huge fan of the blue line as I don't find it super intuitive. Placed between 2 tabs, it's not immediately clear which one it corresponds to (if you're new to this theme).
I think the issue can be better addressed by instead restoring muted colors and brighter colors to active and inactive tabs. The blue line seems out of place within this theme and I would propose putting it on both sides and top of an active tab if you really wanted to keep it.

Tried to add muted colors myself but got a bit confused about how to do this quickly within less so I gave up lol.

@50Wliu Hmm, the blue indicator on the left of the active tab is missing. I've been noticing that it only shows up sporadically now as well.

The blue indicator only appears once you split into 2 panes. See https://github.com/atom/atom/issues/14283
@ProLoser I can see 2 options:

Dim/fade the VCS coloring for not active tabs.
Use some other way, like an extra dot. Similar to un-saved.

I'll try option 1 first, since it seems simpler.

@ProLoser How does

feel? PR -> #230


Remove duplicate Hugo badge

the worse looking one.

removed in https://github.com/inttter/md-badges/commit/53f1d6d8fb8c35fc841e0a1bcef3739f8a432831


node: link styles no longer applied.

Upgraded from v2.1.0 to v3.1.0
Default styling is not applied and if you supply custom styles it is not applied either.

@emiliano-ponce @ticholNyler fix v3.2.0 https://github.com/storybooks/react-treebeard/releases/tag/v3.2.0
Here is codesanbox with the example https://codesandbox.io/s/93720rv5p4


photograph

From<EMAIL_ADDRESS>on June 16, 2009 17:10:05
This is an OBI tracker item that should go to IAO: http://sourceforge.net/tracker/?func=detail&aid=2003481&group_id=177891&atid=886178 Issue parallel to https://code.google.com/p/information-artifact-ontology/issues/detail?id=22 ,
and the need of sorting in the image and narrative object hierarchies
between conveying propositions and not. Maybe we can consider a photo as
not being a set of propositions - it may be a picture of a graph, but in
that case only the graph itself represents the propositions.
Original issue: http://code.google.com/p/information-artifact-ontology/issues/detail?id=23

From<EMAIL_ADDRESS>on June 16, 2009 14:57:31
Summary: photograph

From<EMAIL_ADDRESS>on July 22, 2009 17:55:29
added IAO_0000185
Status: Done


Debug FeeTooSmall even after genEraTweakBlock

Trying to debug
CHAIN level Properties
    collection of Ada preservation properties:                         FAIL (5970.12s)
      *** Failed! (after 222 tests):
      Exception while generating shrink-list:
        LEDGER sigGen: [[UtxowFailure (WrappedShelleyEraFailure (UtxoFailure (FeeTooSmallUTxO (Coin 502) (Coin 2))))]]
        CallStack (from HasCallStack):
          error, called at src/Test/Shelley/Spec/Ledger/Generator/Trace/Ledger.hs:181:25 in shelley-spec-ledger-test-<IP_ADDRESS>-inplace:Test.Shelley.Spec.Ledger.Generator.Trace.Ledger

This has now been cleaned up. Intermittent failures addressed by

Account for the cost of storing a script, in addition to the cost of running it.
2)Added genEraTweakBlock, and genEraDone as ways to discard badly formed Tx ans Block.


Updating the validate & next button position as per UX feedback

Updated the validate & next button position as per UX feedback

The positioning of the buttons looks fine. However, the enablement of 'Skip to finish' I think needs to be addressed. Skip to finish should be disabled if the current page is incomplete or invalid. (I think it can use the same enablement logic as the 'Next' button).

Thanks for pointing, I missed the regression effect on the skip button.

Reverted the Skip to finish button as per the current implementation.


haste-server: 787d839086faee0b55c76ce5944fa207d22e85b4 -> 20919c946602b8151157f647e475e30687a43727

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for haste-server is: "open source pastebin written in node.js"
meta.homepage for haste-server is: "https://www.toptal.com/developers/hastebin/about.md"
meta.changelog for haste-server is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found c24899e50c17cb6a91fb5adadaf998a58f837b0b with grep in /nix/store/ajm8pf8828ny9wry5jxdqpyl62k889c9-haste-server-c24899e50c17cb6a91fb5adadaf998a58f837b0b
found c24899e50c17cb6a91fb5adadaf998a58f837b0b in filename of file in /nix/store/ajm8pf8828ny9wry5jxdqpyl62k889c9-haste-server-c24899e50c17cb6a91fb5adadaf998a58f837b0b

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
haste-server

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ajm8pf8828ny9wry5jxdqpyl62k889c9-haste-server-c24899e50c17cb6a91fb5adadaf998a58f837b0b \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A haste-server https://github.com/r-ryantm/nixpkgs/archive/7e0de7ff309bdcd9a709f2290ec1726cca095c4e.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ajm8pf8828ny9wry5jxdqpyl62k889c9-haste-server-c24899e50c17cb6a91fb5adadaf998a58f837b0b
ls -la /nix/store/ajm8pf8828ny9wry5jxdqpyl62k889c9-haste-server-c24899e50c17cb6a91fb5adadaf998a58f837b0b/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

haste-server

Maintainer pings
cc @mkg20001 for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for haste-server is: "open source pastebin written in node.js"
meta.homepage for haste-server is: "https://www.toptal.com/developers/hastebin/about.md"
meta.changelog for haste-server is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 7c65fb2f9b2e4b292e03c5d70957431bcc27d2c0 with grep in /nix/store/b1q8n4dbwlql29vl34ja87ihvf0gfpay-haste-server-7c65fb2f9b2e4b292e03c5d70957431bcc27d2c0
found 7c65fb2f9b2e4b292e03c5d70957431bcc27d2c0 in filename of file in /nix/store/b1q8n4dbwlql29vl34ja87ihvf0gfpay-haste-server-7c65fb2f9b2e4b292e03c5d70957431bcc27d2c0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
haste-server

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/b1q8n4dbwlql29vl34ja87ihvf0gfpay-haste-server-7c65fb2f9b2e4b292e03c5d70957431bcc27d2c0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A haste-server https://github.com/r-ryantm/nixpkgs/archive/2a9e988e55314476b48d0ba7eea12c6752487428.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/b1q8n4dbwlql29vl34ja87ihvf0gfpay-haste-server-7c65fb2f9b2e4b292e03c5d70957431bcc27d2c0
ls -la /nix/store/b1q8n4dbwlql29vl34ja87ihvf0gfpay-haste-server-7c65fb2f9b2e4b292e03c5d70957431bcc27d2c0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

haste-server

Maintainer pings
cc @mkg20001 for testing.

shouldn't the version being unstable-YYYY-MM-DD?

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for haste-server is: "open source pastebin written in node.js"
meta.homepage for haste-server is: "https://www.toptal.com/developers/hastebin/about.md"
meta.changelog for haste-server is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 20919c946602b8151157f647e475e30687a43727 with grep in /nix/store/8f8m8zs0m0fy9j8i9az3pb2ln3c00cb2-haste-server-20919c946602b8151157f647e475e30687a43727
found 20919c946602b8151157f647e475e30687a43727 in filename of file in /nix/store/8f8m8zs0m0fy9j8i9az3pb2ln3c00cb2-haste-server-20919c946602b8151157f647e475e30687a43727

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
haste-server

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/8f8m8zs0m0fy9j8i9az3pb2ln3c00cb2-haste-server-20919c946602b8151157f647e475e30687a43727 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A haste-server https://github.com/r-ryantm/nixpkgs/archive/26b97785e0045ba51cb1c39e64f67f4820f6661e.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/8f8m8zs0m0fy9j8i9az3pb2ln3c00cb2-haste-server-20919c946602b8151157f647e475e30687a43727
ls -la /nix/store/8f8m8zs0m0fy9j8i9az3pb2ln3c00cb2-haste-server-20919c946602b8151157f647e475e30687a43727/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

haste-server

Maintainer pings
cc @mkg20001 for testing.

@rapenne-s mapping the commit to a date is not that easy and it's also not unique (think two commits same day) so it'd break auto upgrading.


⚠ RbxVeri has degraded performance

In 86eab38, RbxVeri (https://verify.triza.dev) experienced degraded performance:

HTTP code: 200
Response time: 1356 ms

Resolved: RbxVeri performance has improved in 2dd89df.


Make sure that service can be used without configuration section

Make sure that service can be used without configuration section. At the moment exception is thrown when section is missing. It's recommended to handle this case and provide basic functionality when section is missing.

Fixed


Sonoff devices suddenly unavailable

Dear, since this morning with New update HA all my devices are unavailable. I restarted everything, but nothing works...

Any details?

I hope this will help.
Thanks in advance!
My regards

On 24 dec. 2021 at 21:05, Alex X  @.***>  wrote:
Any details?
—
Reply to this email directly,   view it on GitHub, or   unsubscribe.
Triage notifications on the go with GitHub Mobile for   iOS  or   Android.
You are receiving this because you authored the thread.Message ID:  @.***>

More info :
Deze fout is ontstaan door een aangepaste integratie.
Logger: custom_components.hacs
Source: custom_components/hacs/helpers/functions/get_list_from_default.py:35
Integration: HACS (documentation, issues)
First occurred: 21:12:03 (2 occurrences)
Last logged: 21:12:03
Timeout of 20 reached while waiting for https://api.github.com/repos/hacs/default/contents/theme
Timeout of 20 reached while waiting for https://api.github.com/repos/hacs/default/contents/plugin
And
Deze fout is ontstaan door een aangepaste integratie.
Logger: custom_components.sonoff.sonoff_cloud
Source: custom_components/sonoff/sonoff_cloud.py:149
Integration: Sonoff (documentation, issues)
First occurred: 21:11:30 (1 occurrences)
Last logged: 21:11:30
Coolkit API error: 0, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url=URL('https://eu-api.coolkit.cc:8080/api/user/login')
Traceback (most recent call last):
File "/config/custom_components/sonoff/sonoff_cloud.py", line 149, in _api
   return await r.json()

File "/usr/local/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 1103, in json
   raise ContentTypeError(

aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url=URL('https://eu-api.coolkit.cc:8080/api/user/login')
Thank you!

On 24 dec. 2021 at 21:14, Ivan.gabriel  @.***>  wrote:
I hope this will help.
Thanks in advance!
My regards

On 24 dec. 2021 at 21:05, Alex X  @.***>  wrote:
Any details?
—
Reply to this email directly,   view it on GitHub, or   unsubscribe.
Triage notifications on the go with GitHub Mobile for   iOS  or   Android.
You are receiving this because you authored the thread.Message ID:  @.***>

Same here since this morning.
This is the log:
2021-12-29 15:34:41 ERROR (MainThread) [custom_components.sonoff.sonoff_cloud] Coolkit API error: [Errno 1] [RSA] RSA lib (_ssl.c:2633)
Traceback (most recent call last):
File "/config/custom_components/sonoff/sonoff_cloud.py", line 148, in _api
r = await coro
File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 544, in _request
await resp.start(conn)
File "/usr/local/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 890, in start
message, payload = await self._protocol.read() # type: ignore
File "/usr/local/lib/python3.9/site-packages/aiohttp/streams.py", line 604, in read
await self._waiter
aiohttp.client_exceptions.ClientOSError: [Errno 1] [RSA] RSA lib (_ssl.c:2633)
2021-12-29 15:34:41 ERROR (MainThread) [homeassistant.setup] Error during setup of component sonoff
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 254, in _async_setup_component
result = await task
File "/config/custom_components/sonoff/__init__.py", line 104, in async_setup
await registry.cloud_load_devices(cachefile)
File "/config/custom_components/sonoff/sonoff_main.py", line 122, in cloud_load_devices
newdevices = await self.cloud.load_devices()
File "/config/custom_components/sonoff/sonoff_cloud.py", line 313, in load_devices
if resp['error'] == 0:
TypeError: 'NoneType' object is not subscriptable

Most annoying, but hope this helps fix the problem
2021-12-30 12:58:12 ERROR (MainThread) [custom_components.sonoff.sonoff_cloud] Coolkit API error: Cannot connect to host eu-api.coolkit.cc:8080 ssl:default [Connect call failed ('<IP_ADDRESS>', 8080)]
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 986, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs) # type: ignore[return-value] # noqa
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1056, in create_connection
raise exceptions[0]
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1041, in create_connection
sock = await self._connect_sock(
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 955, in _connect_sock
await self.sock_connect(sock, address)
File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 502, in sock_connect
return await fut
File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 537, in _sock_connect_cb
raise OSError(err, f'Connect call failed {address}')
TimeoutError: [Errno 110] Connect call failed ('<IP_ADDRESS>', 8080)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/config/custom_components/sonoff/sonoff_cloud.py", line 148, in _api
r = await coro
File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 535, in _request
conn = await self._connector.connect(
File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 542, in connect
proto = await self._create_connection(req, traces, timeout)
File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 907, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 1206, in _create_direct_connection
raise last_exc
File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 1175, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 992, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host eu-api.coolkit.cc:8080 ssl:default [Connect call failed ('<IP_ADDRESS>', 8080)]
2021-12-30 12:58:12 ERROR (MainThread) [custom_components.sonoff.sonoff_cloud] Login error: None

After a restart today, sonoff is available again. At least here everythings fine.

Removed sonoff lan on hacs, reinstalled it, restarted hassio, still nothing... Feeling Sad...

Same here. This just happened today:
This error originated from a custom integration.

Logger: custom_components.sonoff.sonoff_cloud
Source: custom_components/sonoff/sonoff_cloud.py:148
Integration: Sonoff (documentation, issues)
First occurred: 16:26:37 (1 occurrences)
Last logged: 16:26:37

Coolkit API error: Cannot connect to host eu-api.coolkit.cc:8080 ssl:default [Connect call failed ('<IP_ADDRESS>', 8080)]
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 986, in _wrap_create_connection
    return await self._loop.create_connection(*args, **kwargs)  # type: ignore[return-value]  # noqa
  File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1056, in create_connection
    raise exceptions[0]
  File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1041, in create_connection
    sock = await self._connect_sock(
  File "/usr/local/lib/python3.9/asyncio/base_events.py", line 955, in _connect_sock
    await self.sock_connect(sock, address)
  File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 502, in sock_connect
    return await fut
  File "/usr/local/lib/python3.9/asyncio/selector_events.py", line 537, in _sock_connect_cb
    raise OSError(err, f'Connect call failed {address}')
TimeoutError: [Errno 110] Connect call failed ('<IP_ADDRESS>', 8080)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/config/custom_components/sonoff/sonoff_cloud.py", line 148, in _api
    r = await coro
  File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 535, in _request
    conn = await self._connector.connect(
  File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 542, in connect
    proto = await self._create_connection(req, traces, timeout)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 907, in _create_connection
    _, proto = await self._create_direct_connection(req, traces, timeout)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 1206, in _create_direct_connection
    raise last_exc
  File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 1175, in _create_direct_connection
    transp, proto = await self._wrap_create_connection(
  File "/usr/local/lib/python3.9/site-packages/aiohttp/connector.py", line 992, in _wrap_create_connection
    raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host eu-api.coolkit.cc:8080 ssl:default [Connect call failed ('<IP_ADDRESS>', 8080)]

This error originated from a custom integration.

Logger: custom_components.sonoff.sonoff_cloud
Source: custom_components/sonoff/sonoff_cloud.py:289
Integration: Sonoff (documentation, issues)
First occurred: 16:26:37 (1 occurrences)
Last logged: 16:26:37

Login error: None

Check new beta-version:
https://github.com/AlexxIT/SonoffLAN/releases
It using new ewelink cloud API


[HEVCe] Avoid nullptr dereferenced

@mgonchar and @eistarov isn't it a known false positive?

If that's the case, I can close this PR


By not using ids, you are managing content. "my text" is content. Content that should (currently is not) be created and managed by content creators. If you would use an id like hello, "my text" can be changed to "my brand new text" without ever-changing source code. I am observing that with inlang already. Some people I demo inlang don't care about i18n but the mere possibility that "my text" can be changed by anyone on the team spark their interest.
Another benefit of using ids is the possibility to reference ids in ids:
brand-name = Mozilla
welcome = Welcome to Firefox from { brand-name }.

@blindfish3

What I'm proposing is that the dev just copy pastes the initial text and (almost) never changes it. A parsing process uses this initial text to generate an id and this is used in the source translation files; which is generated automatically.

Con you confirm that the feature request I just opened here https://github.com/inlang/inlang/discussions/111 is what you mean?

Pre-keyed translations are not available; and sometimes designs aren't stable and subject to change.

That seems like a hand-off gap. Theoretical question: If designers create the text in their design files, why is copy & pasting required from developers? A Figma/Sketch/etc. plugin could eliminate the hand-off.

I'm adding my piece to this big topic. Since a lot has already been said, I'll be as straightforward as possible.
String keys VS objects
String keys are most of the time a bad pattern. It's hard to type and you can't have nested values. You just have one big flat namespace.
Regular objects are better for autocompletion and complex typing so I would go with that.
I've read in this topic than some cool plugins integrate with i18n string keys and show previews. That's super cool, but it can be done as well with regular objects - even so it may not exist yet.
Global translation files VS in-component translation
I think integrating translation at component-level rather than at global level is an easy way to make sure to not import all translations at once. You import a component => it comes with its own translation. Simple and effective.
Also Svelte has an approach of single-component, ie mixing different languages in the same file to create a reusable component. It makes sense to follow this guideline and integrate not only script (JS), template (HTML) and style (CSS), but also a content (ICU / Fluent) part inside the component.
The drawback of having an in-component translation is: how to integrate it with translation softwares? It must be easy to parse to allow a svelte preprocessor to only "extract" the translation part of the component.
Example of svelte file with an added "content" section:

.. my template

<content lang="fluent | yaml | toml | json">
  .. my translations
</content>

I prefer the naming "content" over "translation" because a lot of stuff can depend on the current language, not only text but also images, links, ...

Also the  script should be placed at the bottom of the file because it can get very large when manipulating a lot of languages - and if the user works with a 3rd party translation software, this part can even be edited automatically.
Preprocessing content
The <content> script would be preprocessed into JS and create a $content Svelte readable store accessible in

<Page {data} />
```

Maybe for the route handling we could implement a file like `+aliases.ts`, whcih could look something like this
```ts
const aliases = [
  '/my/translated/path/1',
  '/my/translated/path/2',
]
export aliases
```
This file could be used to generate the above mentioned routes automatically. This way the solution I'm currently using would be great for me.

best regards


Update latest version to be the same as RELEASE_3_13

Looking at bioconductor/bioconductor_docker in DockerHub, we can see a discrepancy between push dates for different image versions:

latest was last pushed 5 months ago (and still contains Bioconductor 3.12)
RELEASE_3_13 was pushed 16 hours ago
RELEASE_3_12 was released 1 month ago (so latest isn't even up-to-date compared to RELEASE_3_12...)

I always use the latest tag but it needs to be kept updated with the others. Could the latest tag somehow be automatically built to avoid such issues in the future? Thank you!

Done.

Thank you!! 😊


Numpy example issue

Thanks for creating deno_python. I tried to run NumPy example but faced this issue.
Could you help me to resolve this issue?
error: Uncaught (in promise) PythonError:

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.

We have compiled some common reasons and troubleshooting tips at:

    https://numpy.org/devdocs/user/troubleshooting-importerror.html

Please note and check the following:

  * The Python version is: Python3.8 from "/usr/local/bin/deno"
  * The NumPy version is: "1.22.1"

and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.

Original error was<EMAIL_ADDRESS>2): Symbol not found: _PyBaseObject_Type
  Referenced from<EMAIL_ADDRESS>  Expected in: flat namespace
 in<EMAIL_ADDRESS>
Traceback:
['  File<EMAIL_ADDRESS>line 144, in <module>\n    from . import core\n', '  File<EMAIL_ADDRESS>line 49, in <module>\n    raise ImportError(msg)\n']
  throw new PythonError(errorMessage);
        ^
    at maybeThrowError (https://deno.land/x/python@0.1.0/src/python.ts:641:9)
    at Python.importObject (https://deno.land/x/python@0.1.0/src/python.ts:717:7)
    at Python.import (https://deno.land/x/python@0.1.0/src/python.ts:727:17)
    at file:///Users/hoangpq/WebstormProjects/deno-working/server.ts:3:25

But working well on Python REPL

Environment:
OS: macOS
Python version: 3.8 (Homebrew)
Deno version: 1.18.0

I suspect it is because we do not set the executable path to the actual Python path, and it is likely trying to call deno as python. However this works for me on Windows. I will try to fix ASAP

Hi @DjDeveloperr.
Thank you for amazing quick response :)

Can you try if importing deno_python from https://raw.githubusercontent.com/denosaurs/deno_python/fix-python-exec/mod.ts fixes the issue?

Hi @DjDeveloperr
It's still happened

Hm, can you send the complete error logged this time?

Hi @DjDeveloperr.
For sure, here is full stacktrace
Download https://raw.githubusercontent.com/denosaurs/deno_python/fix-python-exec/mod.ts
Download https://raw.githubusercontent.com/denosaurs/deno_python/fix-python-exec/src/python.ts
Download https://raw.githubusercontent.com/denosaurs/deno_python/fix-python-exec/src/ffi.ts
Download https://raw.githubusercontent.com/denosaurs/deno_python/fix-python-exec/src/util.ts
Check file:///Users/hoangpq/WebstormProjects/deno-working/server.ts
error: Uncaught (in promise) PythonError:

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy C-extensions failed. This error can happen for
many reasons, often due to issues with your setup or how NumPy was
installed.

We have compiled some common reasons and troubleshooting tips at:

    https://numpy.org/devdocs/user/troubleshooting-importerror.html

Please note and check the following:

  * The Python version is: Python3.8 from<EMAIL_ADDRESS>  * The NumPy version is: "1.22.1"

and make sure that they are the versions you expect.
Please carefully study the documentation linked above for further help.

Original error was<EMAIL_ADDRESS>2): Symbol not found: _PyBaseObject_Type
  Referenced from<EMAIL_ADDRESS>  Expected in: flat namespace
 in<EMAIL_ADDRESS>
Traceback:
['  File<EMAIL_ADDRESS>line 144, in <module>\n    from . import core\n', '  File<EMAIL_ADDRESS>line 49, in <module>\n    raise ImportError(msg)\n']
  throw new PythonError(errorMessage);
        ^
    at maybeThrowError (https://raw.githubusercontent.com/denosaurs/deno_python/fix-python-exec/src/python.ts:643:9)
    at Python.importObject (https://raw.githubusercontent.com/denosaurs/deno_python/fix-python-exec/src/python.ts:731:7)
    at Python.import (https://raw.githubusercontent.com/denosaurs/deno_python/fix-python-exec/src/python.ts:741:17)
    at file:///Users/hoangpq/WebstormProjects/deno-working/server.ts:3:25

That is quite weird. I will have to debug this locally so I need some more time, sorry 😅

Thanks @DjDeveloperr.
I did something like this in Nodejs https://github.com/hoangpq/pynode but only in prototype stage,
and quite interesting on your project :)
We can use Python ML lib for Deno. Big thank to you and team.

So the problem here is NumPy is importing symbols using RTLD_NOW which looks for symbols exported from current process. On unix based systems, this will immediately fail if a symbol is not found in that way. While on Windows, there is nothing like RTLD_NOW and NumPy just opens Python shared library to access those symbols. I will investigate for a possible fix

So there is only one fix... and it requires a change in Deno itself. We need to pass RTLD_LAZY | RTLD_GLOBAL to dlopen when loading Python shared library so that it's symbols can be imported from subsequently loaded shared libraries, such as NumPy itself in this case.

Hi @DjDeveloperr.
Awesome, Thank you for your information 👍

I've come up with a workaround until Deno supports flags in dlopen, that is to open libc and use dlopen from that in order to pass RTLD_GLOBAL flag. I also added a test case for importing NumPy, CI seems passing on the PR

Released the fix in 0.1.1

Awesome new, @DjDeveloperr 👍

Tested on macOS Big Sur, Python 3.8, Deno 1.18.0, deno_python 0.1.1

Thanks for your help 🥇


Update seed to work with MongoHQ

Per a conversation with Kurt at MongoHQ:

Seed needs to be brought up to date to work with 2.6.x (and potentially even our oplog users) before it will work out of the box against your DB.

This is because MongoHQ doesn't provide users access to "admin", and seed requires access to admin.
At present, seed works to push data INTO MongoHQ, but I think in being good stewards of data portability this library should be capable of pulling data FROM MongoHQ.

Cleaning up this issue, future work will carry on under the github.com/compose/transporter project
thanks!