We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef86372 commit a29b519Copy full SHA for a29b519
android/src/main/java/com/dylanvann/fastimage/FastImageViewModule.java
@@ -38,7 +38,10 @@ public void run() {
38
for (int i = 0; i < sources.size(); i++) {
39
final ReadableMap source = sources.getMap(i);
40
final FastImageSource imageSource = FastImageViewConverter.getImageSource(activity, source);
41
-
+ if (source == null || !source.hasKey("uri") || source.getString("uri").isEmpty()) {
42
+ System.out.println("Source is null or URI is empty");
43
+ continue;
44
+ }
45
Glide
46
.with(activity.getApplicationContext())
47
// This will make this work for remote and local images. e.g.
0 commit comments