make WebView debuggable in debug builds (#2548)
This commit is contained in:
		
					parent
					
						
							
								a60d33a64b
							
						
					
				
			
			
				commit
				
					
						becb677176
					
				
			
		
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -83,6 +83,10 @@ class LoginWebViewActivity : BaseActivity(), Injectable { | |||
|     override fun onCreate(savedInstanceState: Bundle?) { | ||||
|         super.onCreate(savedInstanceState) | ||||
| 
 | ||||
|         if (BuildConfig.DEBUG) { | ||||
|             WebView.setWebContentsDebuggingEnabled(true) | ||||
|         } | ||||
| 
 | ||||
|         val data = OauthLogin.parseData(intent) | ||||
| 
 | ||||
|         setContentView(binding.root) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue