Skip to content

New Release Breaks Android Build #75

@dmhood

Description

@dmhood

W/ the new release I get the following Gradle/Java Errors:

.../node_modules/react-native-view-shot/android/src/main/java/fr/greweb/reactnativeviewshot/ViewShot.java:40: error: cannot find symbol
    private  ReactApplicationContext reactContext;
             ^
  symbol:   class ReactApplicationContext
  location: class ViewShot


.../node_modules/react-native-view-shot/android/src/main/java/fr/greweb/reactnativeviewshot/ViewShot.java:52: error: cannot find symbol
            ReactApplicationContext reactContext,
            ^
  symbol:   class ReactApplicationContext
  location: class ViewShot


.../node_modules/react-native-view-shot/android/src/main/java/fr/greweb/reactnativeviewshot/ViewShot.java:80: error: cannot find symbol
                reactContext.sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, Uri.parse(uri)));
                                               ^
  symbol:   class Intent
  location: class ViewShot


.../node_modules/react-native-view-shot/android/src/main/java/fr/greweb/reactnativeviewshot/ViewShot.java:80: error: cannot find symbol
                reactContext.sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, Uri.parse(uri)));

Looks to be what was added with dd394a1#diff-ed623a4868c175070504cf68f990095c

I re-checked the Android setup stuff and it looks good to go, unless I'm missing a new step/some dependency I don't know about?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions