Commit a0cc20b
committed
Fixed java.lang.ClassCastException: com.facebook.react.views.text.ReactTextView cannot be cast to android.view.ViewGroup
at com.surcumference.fingerprint.util.ViewUtils.findViewByName(ViewUtils.java:146)
at com.surcumference.fingerprint.plugin.impl.unionpay.UnionPayBasePlugin.showFingerPrintDialog(UnionPayBasePlugin.java:154)
at com.surcumference.fingerprint.plugin.impl.unionpay.UnionPayBasePlugin$2.onGlobalLayout(UnionPayBasePlugin.java:130)
at android.view.ViewTreeObserver.dispatchOnGlobalLayout(ViewTreeObserver.java:1061)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3550)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2398)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:9407)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1218)
at android.view.Choreographer.doCallbacks(Choreographer.java:972)
at android.view.Choreographer.doFrame(Choreographer.java:872)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1203)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:233)
at android.os.Looper.loop(Looper.java:344)
at android.app.ActivityThread.main(ActivityThread.java:8204)1 parent 44adc7d commit a0cc20b
File tree
1 file changed
+6
-2
lines changed- app/src/main/java/com/surcumference/fingerprint/util
1 file changed
+6
-2
lines changedLines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
144 | 146 | | |
145 | 147 | | |
146 | 148 | | |
| |||
161 | 163 | | |
162 | 164 | | |
163 | 165 | | |
164 | | - | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
165 | 169 | | |
166 | 170 | | |
167 | 171 | | |
| |||
0 commit comments