-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
android player & demo setup for consuming hermes
- Loading branch information
Showing
7 changed files
with
49 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 14 additions & 14 deletions
28
android/player/src/main/java/com/intuit/playerui/android/debug/UnsupportedScriptProvider.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
package com.intuit.playerui.android.debug | ||
|
||
import com.alexii.j2v8debugger.ScriptSourceProvider | ||
import com.intuit.playerui.core.bridge.runtime.Runtime | ||
import com.intuit.playerui.core.player.PlayerException | ||
|
||
internal class UnsupportedScriptProvider(private val runtime: Runtime<*>) : ScriptSourceProvider { | ||
override val allScriptIds: Collection<String> | ||
get() = throw PlayerException("Unsupported exception, $runtime runtime does not support JS debugging") | ||
|
||
override fun getSource(scriptId: String): String { | ||
throw PlayerException("Unsupported exception, $runtime runtime does not support JS debugging") | ||
} | ||
} | ||
//package com.intuit.playerui.android.debug | ||
// | ||
//import com.alexii.j2v8debugger.ScriptSourceProvider | ||
//import com.intuit.playerui.core.bridge.runtime.Runtime | ||
//import com.intuit.playerui.core.player.PlayerException | ||
// | ||
//internal class UnsupportedScriptProvider(private val runtime: Runtime<*>) : ScriptSourceProvider { | ||
// override val allScriptIds: Collection<String> | ||
// get() = throw PlayerException("Unsupported exception, $runtime runtime does not support JS debugging") | ||
// | ||
// override fun getSource(scriptId: String): String { | ||
// throw PlayerException("Unsupported exception, $runtime runtime does not support JS debugging") | ||
// } | ||
//} |